git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dba2939
)
staging: rtl8192e: rtl8192e: rtl_core.c: Audit the return value of register_netdev()
author
Kumar Amit Mehta
<gmate.amit@gmail.com>
Thu, 15 Nov 2012 17:22:13 +0000
(22:52 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 15 Nov 2012 23:26:14 +0000
(15:26 -0800)
Inspect the return value of register_netdev() in the driver probe routine and
return -ENODEV in case of error.
Signed-off-by: Kumar Amit Mehta <gmate.amit@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found