Files
linux/drivers
Thomas Preisner 7f69dc1004 net: 3com: typhoon: typhoon_init_one: fix incorrect return values
[ Upstream commit 107fded7bf ]

In a few cases the err-variable is not set to a negative error code if a
function call in typhoon_init_one() fails and thus 0 is returned
instead.
It may be better to set err to the appropriate negative error
code before returning.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188841

Reported-by: Pan Bian <bianpan2016@163.com>
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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-30 08:37:26 +00:00
..
2015-10-12 19:56:27 -07:00
2017-11-24 08:32:25 +01:00
2017-10-18 09:20:41 +02:00
2017-10-12 11:27:33 +02:00
2017-11-08 10:06:29 +01:00
2016-09-24 10:07:35 +02:00
2017-04-21 09:30:07 +02:00