]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8187se: r8180_core.c: Inspect the return value of register_netdev()
authorKumar Amit Mehta <gmate.amit@gmail.com>
Wed, 14 Nov 2012 10:00:57 +0000 (15:30 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Nov 2012 00:34:58 +0000 (16:34 -0800)
commit5889212d2f6c132757e89f65cccb9086026537b2
tree08c8a5b83fe3def754a7584539fc1b8b27e68a65
parentf6495245616a2d65f6a56b75dff5d5791e78b80d
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>
drivers/staging/rtl8187se/r8180_core.c