aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarc Kleine-Budde <[email protected]>2023-02-08 10:26:33 +0100
committerMarc Kleine-Budde <[email protected]>2023-07-28 09:43:40 +0200
commit5c6c313acdfc3455b20ac1dc9655aa4afcf51ab1 (patch)
treeffee54d6683d446d527ce30340c1840b634dcae5 /tools/perf/scripts/python
parent1494ffe4cbe0f97af9c57a4cc37131c8efbe79fc (diff)
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/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions