]> 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)
commitbe50ef849ba002617b81e52e4c42320dd4acd5c3
tree52ea0c6faad2fe8dba5b703dfa8ef5c229135c49
parent06425cfa9c44628f5cbc9185f3ac7adde8af01e0
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