Thread (24 messages) 24 messages, 5 authors, 2023-12-08

Re: [PATCH] net: usb: ax88179_178a: avoid failed operations when device is disconnected

From: Oliver Neukum <oneukum@suse.com>
Date: 2023-11-29 15:34:07
Also in: linux-usb, lkml

On 29.11.23 16:16, Jose Ignacio Tornos Martinez wrote:

Hi,
The reason is that although the device is detached, normal stop and
unbind operations are commanded. Avoid these unnecessary operations
when the device is detached (state is USB_STATE_NOTATTACHED) so as
not to get the error messages.
I am sorry, but this is a layering violation. You are looking
at an internal state of the USB layer to surpress logging
-ENODEV. If you think these messages should go away, filter
for ENODEV where they are generated.

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