]> 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)
commitb62d3261451bab3df07d55099296c93fdf7677b8
treef187b57b66fe5b67ea3a4bb9183e6a437c01be45
parent8b92490b29ff9d9ac58c3f35cc879c85c9c35c8e
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