aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorZhang Qilong <[email protected]>2020-11-28 21:39:22 +0800
committerMarc Kleine-Budde <[email protected]>2020-11-30 12:43:55 +0100
commit13a84cf37a4cf1155a41684236c2314eb40cd65c (patch)
tree7b172ebff23503bb8b5b009690d891325ecdf74f /tools/perf/scripts/python/syscall-counts.py
parent44cef0c0ffbd8d61143712ce874be68a273b7884 (diff)
can: kvaser_pciefd: kvaser_pciefd_open(): fix error handling
If kvaser_pciefd_bus_on() failed, we should call close_candev() to avoid reference leak. Fixes: 26ad340e582d3 ("can: kvaser_pciefd: Add driver for Kvaser PCIEcan devices") Signed-off-by: Zhang Qilong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions