]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
time/timecounter: Mark 1st argument of timecounter_cyc2time() as const
authorMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 3 Mar 2021 10:35:44 +0000 (11:35 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 16 Apr 2021 19:03:50 +0000 (21:03 +0200)
commit07ff4aed015c564d03fd518d2fb54e5e6948903c
treea029bcbe6bd30a664a8d7ac3640f076ea0d25a49
parent7b3efb50f7831102cb44d8a0e55d21f2cbac85fa
time/timecounter: Mark 1st argument of timecounter_cyc2time() as const

The timecounter is not modified in this function. Mark it as const.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210303103544.994855-1-mkl@pengutronix.de
include/linux/timecounter.h
kernel/time/timecounter.c