aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/generated/netdev-user.c
diff options
context:
space:
mode:
authorMarc Kleine-Budde <[email protected]>2023-02-08 09:26:33 +0000
committerMarc Kleine-Budde <[email protected]>2023-07-28 07:43:40 +0000
commit5c6c313acdfc3455b20ac1dc9655aa4afcf51ab1 (patch)
treeffee54d6683d446d527ce30340c1840b634dcae5 /tools/net/ynl/generated/netdev-user.c
parentcan: gs_usb: gs_can_start_xmit(), gs_can_open(): clean up printouts in error ... (diff)
downloadkernel-5c6c313acdfc3455b20ac1dc9655aa4afcf51ab1.tar.gz
kernel-5c6c313acdfc3455b20ac1dc9655aa4afcf51ab1.zip
can: gs_usb: gs_can_close(): don't complain about failed device reset during ndo_stop
When the USB device is unplugged, gs_can_close() (which implements the struct net_device_ops::ndo_stop callback) is called. In this function an attempt is made to shut down the USB device with a USB control message. For disconnected devices this will fail and a warning message is printed. Silence the driver by removing the printout of the error message if the reset command fails. Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/netdev-user.c')
0 files changed, 0 insertions, 0 deletions