OSDN Git Service

net: usb: log errors to dmesg/syslog
authorGrant Grundler <grundler@chromium.org>
Sat, 6 Mar 2021 22:12:32 +0000 (14:12 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Mar 2021 19:54:32 +0000 (11:54 -0800)
commit4d8c79b7e9ff05030aad68421f7584b129933ba6
tree52ea0c6faad2fe8dba5b703dfa8ef5c229135c49
parent492bbe7f8a43ff20bb9bfc6b98220dcfb7e5992f
net: usb: log errors to dmesg/syslog

Errors in protocol should be logged when the driver aborts operations.
If the driver can carry on and "humor" the device, then emitting
the message as debug output level is fine.

Signed-off-by: Grant Grundler <grundler@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/usbnet.c