aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32.c
diff options
context:
space:
mode:
authorTiwei Bie <[email protected]>2025-07-08 09:04:03 +0000
committerJohannes Berg <[email protected]>2025-07-11 06:49:18 +0000
commit4c916e3b224a02019b3cc3983a15f32bfd9a22df (patch)
tree6f8842503972f7db6d9c6e9be108897c228d579d /drivers/pwm/pwm-stm32.c
parentum: Avoid redefining ARCH_HAS_CACHE_LINE_SIZE (diff)
downloadkernel-4c916e3b224a02019b3cc3983a15f32bfd9a22df.tar.gz
kernel-4c916e3b224a02019b3cc3983a15f32bfd9a22df.zip
um: rtc: Avoid shadowing err in uml_rtc_start()
Remove the declaration of 'err' inside the 'if (timetravel)' block, as it would otherwise be unavailable outside that block, potentially leading to uml_rtc_start() returning an uninitialized value. Fixes: dde8b58d5127 ("um: add a pseudo RTC") Signed-off-by: Tiwei Bie <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions