aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorDinghao Liu <[email protected]>2023-09-21 16:24:10 +0800
committerAlexandre Belloni <[email protected]>2023-09-25 23:45:10 +0200
commitcab63f64887616e3c4e31cfd8103320be6ebc8d3 (patch)
tree64028770e0bdda4f25bb55e08d5ae063a7cb40d5 /tools/testing/selftests/bpf/progs/test_autoload.c
parentfc9176e794d74baccb1e4ef41894ac141f524992 (diff)
i3c: Fix potential refcount leak in i3c_master_register_new_i3c_devs
put_device() needs to be called on failure of device_register() to give up the reference initialized in it to avoid refcount leak. Fixes: 3a379bbcea0a ("i3c: Add core I3C infrastructure") Signed-off-by: Dinghao Liu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions