Thread (2 messages) 2 messages, 2 authors, 2017-03-01

Re: [PATCH] net: usb: asix_devices: fix missing return code check on call to asix_write_medium_mode

From: David Miller <davem@davemloft.net>
Date: 2017-03-01 17:52:32
Also in: kernel-janitors, lkml

From: Colin King <redacted>
Date: Tue, 28 Feb 2017 11:58:22 +0000
From: Colin Ian King <redacted>

The call to asix_write_medium_mode is not updating the return code ret
and yet ret is being checked for an error. Fix this by assigning ret to
the return code from the call asix_write_medium_mode.

Detected by CoverityScan, CID#1357148 ("Logically Dead Code")

Signed-off-by: Colin Ian King <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help