diff options
author | 2025-07-08 17:04:03 +0800 | |
---|---|---|
committer | 2025-07-11 08:49:18 +0200 | |
commit | 4c916e3b224a02019b3cc3983a15f32bfd9a22df (patch) | |
tree | 6f8842503972f7db6d9c6e9be108897c228d579d /tools/perf/scripts/python | |
parent | um: Avoid redefining ARCH_HAS_CACHE_LINE_SIZE (diff) | |
download | wireguard-linux-4c916e3b224a02019b3cc3983a15f32bfd9a22df.tar.xz wireguard-linux-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 <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20250708090403.1067440-5-tiwei.bie@linux.dev
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions