]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hrtimers: Update the return type of enqueue_hrtimer()
authorRichard Clark <richard.xnu.clark@gmail.com>
Tue, 24 Dec 2024 07:57:03 +0000 (15:57 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 15 Jan 2025 18:49:14 +0000 (19:49 +0100)
commitda7100d3bf7d6f5c49ef493ea963766898e9b069
tree47664cc709aee800e6ea2d9b3dc9d1e86a5ea182
parent776b194116d1a484b6d04abfe4b86272f0700144
hrtimers: Update the return type of enqueue_hrtimer()

The return type should be 'bool' instead of 'int' according to the calling
context in the kernel, and its internal implementation, i.e. :

return timerqueue_add();

which is a bool-return function.

[ tglx: Adjust function arguments ]

Signed-off-by: Richard Clark <richard.xnu.clark@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/Z2ppT7me13dtxm1a@MBC02GN1V4Q05P
kernel/time/hrtimer.c