aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/fd_array.c
diff options
context:
space:
mode:
authorZhen Ni <zhen.ni@easystack.cn>2025-08-14 20:33:24 +0800
committerDaniel Lezcano <daniel.lezcano@linaro.org>2025-09-23 12:42:27 +0200
commitcd32e596f02fc981674573402c1138f616df1728 (patch)
tree0ba1c5e29ffbd523fc6cb5400a26aba10dfb6578 /tools/testing/selftests/bpf/prog_tests/fd_array.c
parentclocksource/drivers/arm_global_timer: Add auto-detection for initial prescale... (diff)
downloadlinux-cd32e596f02fc981674573402c1138f616df1728.tar.gz
linux-cd32e596f02fc981674573402c1138f616df1728.zip
clocksource/drivers/clps711x: Fix resource leaks in error paths
The current implementation of clps711x_timer_init() has multiple error paths that directly return without releasing the base I/O memory mapped via of_iomap(). Fix of_iomap leaks in error paths. Fixes: 04410efbb6bc ("clocksource/drivers/clps711x: Convert init function to return error") Fixes: 2a6a8e2d9004 ("clocksource/drivers/clps711x: Remove board support") Signed-off-by: Zhen Ni <zhen.ni@easystack.cn> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20250814123324.1516495-1-zhen.ni@easystack.cn
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/fd_array.c')
0 files changed, 0 insertions, 0 deletions