summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-11-09 20:07:22 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-28 17:12:38 +0300
commit03310a15484ab6a8f6d91bbf7fe486b17275c09a (patch)
treeb418db063019086564b179350a43af0c931aa1e8 /tools/perf/scripts/python/export-to-postgresql.py
parent1a7e3948cb9f5bb9241112706267b8fbc7812c7a (diff)
downloadlinux-03310a15484ab6a8f6d91bbf7fe486b17275c09a.tar.xz
USB: ledtrig-usbport: fix of-node leak
This code looks up a USB device node from a given parent USB device but never dropped its reference to the returned node. As only the address of the node is used for a later matching, the reference can be dropped immediately. Note that this trigger implementation confuses the description of the USB device connected to a port with the port itself (which does not have a device-tree representation). Fixes: 4f04c210d031 ("usb: core: read USB ports from DT in the usbport LED trigger driver") Cc: Rafał Miłecki <rafal@milecki.pl> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions