Tag: fe747f0f34c638b639e1158f62c5d2f7a6d589c9

staging: wilc1000: Return correct error codes

Author: Amitoj Kaur Chawla <amitoj1606@gmail.com> This change has been made with the goal that kernel functions should return something more descriptive than -1 on failure. The return value on an alloc_etherdev failure should be -ENOMEM, and not -1. This was found using Coccinelle. A simplified version of the semantic patch used is: // @@ expression …

Continue reading