aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorAlexey Khoroshilov <[email protected]>2013-12-07 03:10:35 +0400
committerMarc Kleine-Budde <[email protected]>2013-12-17 11:19:11 +0100
commita1c31f1d057130cc63e72a09189410d169db7ecf (patch)
treeac0e5e0f58916ea7584076ce443600307faf7458 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent9bd7d20c45157c175bfd45449e904a404506f99c (diff)
can: ems_usb: fix urb leaks on failure paths
There are a couple failure paths where urb leaks. Is spare code within ems_usb_start_xmit(), usb_free_urb() should be used to deallocate urb instead of usb_unanchor_urb(). In ems_usb_start() there is no usb_free_urb() if usb_submit_urb() fails. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <[email protected]> Acked-by: Sebastian Haas <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions