linux-yocto/arch/um/drivers
Tiwei Bie f22682d62b um: rtc: Avoid shadowing err in uml_rtc_start()
[ Upstream commit 4c916e3b22 ]

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: dde8b58d51 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-08-15 16:38:45 +02:00
..
chan_kern.c um: chan_kern: use raw spinlock for irqs_to_free_lock 2025-06-02 11:23:22 +02:00
chan_user.c um: Use os_set_pdeathsig helper in winch thread/process 2024-10-25 11:34:55 +02:00
chan_user.h
chan.h um: chan: use blocking IO for console output for time-travel 2024-07-03 12:18:02 +02:00
cow_sys.h
cow_user.c
cow.h
fd.c
harddog_kern.c [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
harddog_user_exp.c
harddog_user.c
harddog.h
hostaudio_kern.c um: hostaudio: Do not propagate mixer parameter to kernel 2024-10-23 09:52:49 +02:00
Kconfig um: Remove legacy network transport infrastructure 2025-05-05 10:26:59 +02:00
line.c um: line: always fill *error_out in setup_one_line() 2024-07-04 12:03:14 +02:00
line.h
Makefile um: Remove legacy network transport infrastructure 2025-05-05 10:26:59 +02:00
mconsole_kern.c
mconsole_kern.h
mconsole_user.c minmax: make generic MIN() and MAX() macros available everywhere 2024-07-28 15:49:18 -07:00
mconsole.h
mmapper_kern.c
null.c
port_kern.c um: generalize os_rcv_fd 2024-07-03 12:24:25 +02:00
port_user.c
port.h
pty.c
random.c um: Rewrite the sigio workaround based on epoll and tgkill 2025-03-20 09:28:44 +01:00
rtc_kern.c um: rtc: use RTC time when calculating the alarm 2025-01-10 13:50:00 +01:00
rtc_user.c um: rtc: Avoid shadowing err in uml_rtc_start() 2025-08-15 16:38:45 +02:00
rtc.h
ssl.c
stderr_console.c
stdio_console.c
stdio_console.h
tty.c
ubd_kern.c um: ubd: Switch to the pthread-based helper 2025-03-20 09:26:38 +01:00
ubd_user.c um: ubd: Add missing error check in start_io_thread() 2025-06-25 09:25:49 +02:00
ubd.h um: ubd: Switch to the pthread-based helper 2025-03-20 09:26:38 +01:00
vector_kern.c um: vector: Reduce stack usage in vector_eth_configure() 2025-06-25 09:28:17 +02:00
vector_kern.h um: vector: Replace locks guarding queue depth with atomics 2024-09-12 19:56:05 +02:00
vector_transports.c
vector_user.c vector_user: add VDE support 2024-09-12 20:16:42 +02:00
vector_user.h
vfio_kern.c um: vfio: Prevent duplicate device assignments 2025-06-25 09:26:06 +02:00
vfio_user.c um: Add VFIO-based virtual PCI driver 2025-05-05 10:25:24 +02:00
vfio_user.h um: Add VFIO-based virtual PCI driver 2025-05-05 10:25:24 +02:00
vhost_user.h um: virtio_uml: query the number of vqs if supported 2024-11-07 18:05:07 +01:00
virt-pci.c irqdomain: um: use irq_domain_create_linear() helper 2025-05-05 10:25:38 +02:00
virt-pci.h um: virt-pci: Refactor virtio_pcidev into its own module 2025-03-18 11:06:54 +01:00
virtio_pcidev.c um: virt-pci: Refactor virtio_pcidev into its own module 2025-03-18 11:06:54 +01:00
virtio_uml.c um: virtio_uml: use raw spinlock 2025-02-12 23:40:55 +01:00
xterm_kern.c um: generalize os_rcv_fd 2024-07-03 12:24:25 +02:00
xterm.c um: xterm: Update options for gnome-terminal 2025-05-05 10:21:15 +02:00
xterm.h