]> git.baikalelectronics.ru Git - kernel.git/commit
net: 3com: typhoon: typhoon_init_one: make return values more specific
authorThomas Preisner <thomas.preisner+linux@fau.de>
Fri, 30 Dec 2016 02:37:54 +0000 (03:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Dec 2016 20:26:22 +0000 (15:26 -0500)
commit2862daf62c7dce53357c735e172d8f370cd55957
treef187b57b66fe5b67ea3a4bb9183e6a437c01be45
parent168be79eae54a488c5bb47e692a30fb0554721e0
net: 3com: typhoon: typhoon_init_one: make return values more specific

In some cases the return value of a failing function is not being used
and the function typhoon_init_one() returns another negative error code
instead.

Signed-off-by: Thomas Preisner <thomas.preisner+linux@fau.de>
Signed-off-by: Milan Stephan <milan.stephan+linux@fau.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/3com/typhoon.c