Thread (18 messages) 18 messages, 4 authors, 2016-12-30

Re: [PATCH v4 1/2] net: 3com: typhoon: typhoon_init_one: fix incorrect return values

From: David Miller <davem@davemloft.net>
Date: 2016-12-30 20:27:12
Also in: lkml

From: Thomas Preisner <redacted>
Date: Fri, 30 Dec 2016 03:37:53 +0100
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 <redacted>
Signed-off-by: Thomas Preisner <redacted>
Signed-off-by: Milan Stephan <redacted>
Applied to net-next.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help