summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-10-20 14:28:27 +0800
committerVinod Koul <vkoul@kernel.org>2022-11-08 10:43:56 +0530
commitac2b9f34f02052709aea7b34bb2a165e1853eb41 (patch)
tree73b92fc2fc2b02350610544d9245c90ed4543386 /tools/perf/scripts/python/task-analyzer.py
parent081195d17a0c4c636da2b869bd5809d42e8cbb13 (diff)
dmaengine: ti: k3-udma-glue: fix memory leak when register device fail
If device_register() fails, it should call put_device() to give up reference, the name allocated in dev_set_name() can be freed in callback function kobject_cleanup(). Fixes: 5b65781d06ea ("dmaengine: ti: k3-udma-glue: Add support for K3 PKTDMA") Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com> Link: https://lore.kernel.org/r/20221020062827.2914148-1-yangyingliang@huawei.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions