]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc291e063c35346f78e31a767b9fd5b03e71d8497
tree52ea0c6faad2fe8dba5b703dfa8ef5c229135c49
parentdecf8ef2e9f01b6269208539aa04f09f2caf2e1a
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