aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorZhang Qilong <[email protected]>2020-12-04 14:35:06 +0100
committerJakub Kicinski <[email protected]>2020-12-05 13:08:11 -0800
commit4d1be581ec6b92a338bb7ed23e1381f45ddf336f (patch)
treeae785fa14e5135aec7ed2fc9f6c5b00bb736960d /tools/perf/scripts/python/netdev-times.py
parenta54ba3465d86fa5dd7d41bb88c0b5e71fb3b627e (diff)
can: softing: softing_netdev_open(): fix error handling
If softing_netdev_open() fails, we should call close_candev() to avoid reference leak. Fixes: 03fd3cf5a179d ("can: add driver for Softing card") Signed-off-by: Zhang Qilong <[email protected]> Acked-by: Kurt Van Dijck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions