]> git.ipfire.org Git - thirdparty/linux.git/commit
hrtimer: Add missing ACCESS_PRIVATE() for hrtimer::function
authorNam Cao <namcao@linutronix.de>
Tue, 8 Apr 2025 10:38:54 +0000 (12:38 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 9 Apr 2025 19:00:42 +0000 (21:00 +0200)
commit2424e146bee00ddb4d4f79d3224f54634ca8d2bc
tree254ad81f111c7c19e514c0491ff966d2772bb8d5
parent0af2f6be1b4281385b618cb86ad946eded089ac8
hrtimer: Add missing ACCESS_PRIVATE() for hrtimer::function

The "function" field of struct hrtimer has been changed to private, but
two instances have not been converted to use ACCESS_PRIVATE().

Convert them to use ACCESS_PRIVATE().

Fixes: 04257da0c99c ("hrtimers: Make callback function pointer private")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250408103854.1851093-1-namcao@linutronix.de
Closes: https://lore.kernel.org/oe-kbuild-all/202504071931.vOVl13tt-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202504072155.5UAZjYGU-lkp@intel.com/
include/linux/hrtimer.h
kernel/time/hrtimer.c