diff options
author | Kumar Amit Mehta <gmate.amit@gmail.com> | 2012-11-14 15:30:57 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-14 16:34:58 -0800 |
commit | 36e97a5714073a1f95c70cbb925928ca7315fb66 (patch) | |
tree | 08c8a5b83fe3def754a7584539fc1b8b27e68a65 /drivers/staging/comedi | |
parent | c17d37df984b0eaf67d422b2698755fe71d6d1e0 (diff) | |
download | linux-3.10-36e97a5714073a1f95c70cbb925928ca7315fb66.tar.gz linux-3.10-36e97a5714073a1f95c70cbb925928ca7315fb66.tar.bz2 linux-3.10-36e97a5714073a1f95c70cbb925928ca7315fb66.zip |
staging: rtl8187se: r8180_core.c: Inspect the return value of register_netdev()
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>
Diffstat (limited to 'drivers/staging/comedi')
0 files changed, 0 insertions, 0 deletions