]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hrtimer: Don't zero-initialize ret in hrtimer_nanosleep()
authorThomas Weißschuh (Schneider Electric) <thomas.weissschuh@linutronix.de>
Wed, 11 Mar 2026 10:15:16 +0000 (11:15 +0100)
committerThomas Gleixner <tglx@kernel.org>
Thu, 12 Mar 2026 11:15:55 +0000 (12:15 +0100)
commit194675f16d7307a0109b54cf350ef9f81617f006
treea84ba818aaae193eaa156135fa6378bf987bfa1c
parent8ef2807042d0886a85bbcb0aba1a2a277680dc4a
hrtimer: Don't zero-initialize ret in hrtimer_nanosleep()

The value will be assigned to before any usage.
No other function in hrtimer.c does such a zero-initialization.

Signed-off-by: Thomas Weißschuh (Schneider Electric) <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260311-hrtimer-cleanups-v1-7-095357392669@linutronix.de
kernel/time/hrtimer.c