summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2022-12-20 15:18:07 +0300
committerLee Jones <lee@kernel.org>2023-01-30 11:03:13 +0300
commitda1afe8e6099980fe1e2fd7436dca284af9d3f29 (patch)
tree9fcf58e0208d5728d17748281ebbe031c1b64e51 /tools/perf/scripts/python/task-analyzer.py
parentd8960dfb9d6dd940265cd48d7de6ad7060aa6963 (diff)
downloadlinux-da1afe8e6099980fe1e2fd7436dca284af9d3f29.tar.xz
leds: led-core: Fix refcount leak in of_led_get()
class_find_device_by_of_node() calls class_find_device(), it will take the reference, use the put_device() to drop the reference when not need anymore. Fixes: 699a8c7c4bd3 ("leds: Add of_led_get() and led_put()") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/20221220121807.1543790-1-linmq006@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions