]> git.ipfire.org Git - thirdparty/linux.git/commit
hrtimer: Mark index and clockid of clock base as const
authorThomas Weißschuh (Schneider Electric) <thomas.weissschuh@linutronix.de>
Wed, 11 Mar 2026 10:15:19 +0000 (11:15 +0100)
committerThomas Gleixner <tglx@kernel.org>
Thu, 12 Mar 2026 11:15:55 +0000 (12:15 +0100)
commitf12ef5cb4e035e15f0c324c41ff402441578ffda
tree690d2bef743ffb2863e104c34ee6f963c5f79d64
parentbd803783dfa7ddd5e1d44a6abfeee26fdc3a2db7
hrtimer: Mark index and clockid of clock base as const

These fields are initialized once and are never supposed to change.

Mark them as const to make this explicit.

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-10-095357392669@linutronix.de
include/linux/hrtimer_defs.h