Thread (6 messages) flat view 6 messages, 4 authors, 1d ago

Re: [PATCH net] ch9200: return error on failed register writes in ch9200_bind()

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-09-15 15:25:47
Also in: lkml, netdev

On Mon, Sep 14, 2026 at 11:25:02PM +0300, Sergey Shtylyov wrote:
The successful register writes, done via the USB control requests in
control_write(), seem vital for the normal functioning of the device,
however the driver's bind() method ignores error codes returned from
control_write().  Do bail out of ch9200_bind() on failed writes...

Found by Linux Verification Center (linuxtesting.org) with the Svace
static analysis tool.

Fixes: 4a476bd6d1d9 ("usbnet: New driver for QinHeng CH9200 devices")
Signed-off-by: Sergey Shtylyov <redacted>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help