]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
timekeeping: Mark offsets array as const
authorThomas Weißschuh (Schneider Electric) <thomas.weissschuh@linutronix.de>
Wed, 11 Mar 2026 10:15:14 +0000 (11:15 +0100)
committerThomas Gleixner <tglx@kernel.org>
Thu, 12 Mar 2026 11:15:54 +0000 (12:15 +0100)
commit112c685f02114d02efe0a14535abcb86fe9e464e
tree1a34ff3233d31f892ea7fc330ccf71a6dae2c04d
parentba546d3d895c5190a4c16d92e1ecff7c0b4ee9b3
timekeeping: Mark offsets array as const

Neither the array nor the offsets it is pointing to are meant to be
changed through the array.

Mark both the array and the values it points to as const.

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-5-095357392669@linutronix.de
kernel/time/timekeeping.c