aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2022-10-20 14:28:27 +0800
committerVinod Koul <[email protected]>2022-11-08 10:43:56 +0530
commitac2b9f34f02052709aea7b34bb2a165e1853eb41 (patch)
tree73b92fc2fc2b02350610544d9245c90ed4543386 /scripts/gdb/linux
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 <[email protected]> Acked-by: Peter Ujfalusi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions