summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorGuangshuo Li <lgs201920130244@gmail.com>2026-07-05 01:54:51 +0800
committerDaniel Lezcano <daniel.lezcano@kernel.org>2026-08-11 14:14:19 +0200
commita559db69fe159cfcb8b2eea715d51b75fa56bdbf (patch)
treed5209d052a22aca137489cccc5ba03ae358c2c0c /scripts/objdiff
parentb839fe55d4d36a9401f7351f525cc8c4533883c2 (diff)
downloadlinux-next-a559db69fe159cfcb8b2eea715d51b75fa56bdbf.tar.gz
linux-next-a559db69fe159cfcb8b2eea715d51b75fa56bdbf.zip
clocksource/drivers/clps711x: Do not unmap clocksource MMIO
clps711x_clksrc_init() stores the timer base address in the static tcd pointer and registers it as both the clocksource MMIO address and the sched_clock read address. The clocksource init path must therefore keep the mapping alive after clps711x_timer_init() returns. However, the shared unmap_io exit path is also reached after successful clocksource registration, so the MMIO mapping is torn down while the clocksource and sched_clock readers may still access it. Return directly after successful clocksource registration and leave the mapping alive for the registered readers. Keep the unmap_io path for the error paths and for the clockevent init path. Fixes: cd32e596f02f ("clocksource/drivers/clps711x: Fix resource leaks in error paths") Signed-off-by: Guangshuo Li <lgs201920130244@gmail.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org> Link: https://patch.msgid.link/20260704175451.256364-1-lgs201920130244@gmail.com
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions