* [thomas-weissschuh:b4/hrtimer-header-dependencies 5/5] include/linux/hrtimer_rearm.h:80:97: error: use of undeclared identifier 'false'; did you mean 'else'?
@ 2026-06-26 19:13 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-26 19:13 UTC (permalink / raw)
To: Thomas Weißschuh (Schneider Electric); +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/hrtimer-header-dependencies
head: 0fffc8fb3ee52eaf84481a67834faa5bb8b482b0
commit: 0fffc8fb3ee52eaf84481a67834faa5bb8b482b0 [5/5] hrtimer: Remove inclusion of hrtimer_bases.h remove from hrtimer.h
config: loongarch-allnoconfig (https://download.01.org/0day-ci/archive/20260627/202606270343.XYWq4Kgr-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260627/202606270343.XYWq4Kgr-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202606270343.XYWq4Kgr-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from kernel/time/vsyscall.c:10:
In file included from include/linux/hrtimer.h:15:
include/linux/hrtimer_rearm.h:79:24: error: unknown type name 'bool'
79 | static __always_inline bool
| ^
>> include/linux/hrtimer_rearm.h:80:97: error: use of undeclared identifier 'false'; did you mean 'else'?
80 | hrtimer_rearm_deferred_user_irq(unsigned long *tif_work, const unsigned long tif_mask) { return false; }
| ^~~~~
| else
>> include/linux/hrtimer_rearm.h:80:97: error: expected expression
include/linux/hrtimer_rearm.h:81:24: error: unknown type name 'bool'
81 | static __always_inline bool hrtimer_test_and_clear_rearm_deferred(void) { return false; }
| ^
include/linux/hrtimer_rearm.h:81:82: error: use of undeclared identifier 'false'; did you mean 'else'?
81 | static __always_inline bool hrtimer_test_and_clear_rearm_deferred(void) { return false; }
| ^~~~~
| else
include/linux/hrtimer_rearm.h:81:82: error: expected expression
In file included from kernel/time/vsyscall.c:12:
In file included from include/vdso/datapage.h:25:
In file included from arch/loongarch/include/asm/vdso/arch_data.h:13:
In file included from arch/loongarch/include/asm/vdso.h:10:
In file included from include/linux/mm.h:36:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:98:11: warning: array index 3 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
98 | return (set->sig[3] | set->sig[2] |
| ^ ~
include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from kernel/time/vsyscall.c:12:
In file included from include/vdso/datapage.h:25:
In file included from arch/loongarch/include/asm/vdso/arch_data.h:13:
In file included from arch/loongarch/include/asm/vdso.h:10:
In file included from include/linux/mm.h:36:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:98:25: warning: array index 2 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
98 | return (set->sig[3] | set->sig[2] |
| ^ ~
include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from kernel/time/vsyscall.c:12:
In file included from include/vdso/datapage.h:25:
In file included from arch/loongarch/include/asm/vdso/arch_data.h:13:
In file included from arch/loongarch/include/asm/vdso.h:10:
In file included from include/linux/mm.h:36:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:99:4: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
99 | set->sig[1] | set->sig[0]) == 0;
| ^ ~
include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from kernel/time/vsyscall.c:12:
In file included from include/vdso/datapage.h:25:
In file included from arch/loongarch/include/asm/vdso/arch_data.h:13:
In file included from arch/loongarch/include/asm/vdso.h:10:
In file included from include/linux/mm.h:36:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:101:11: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
101 | return (set->sig[1] | set->sig[0]) == 0;
| ^ ~
include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from kernel/time/vsyscall.c:12:
In file included from include/vdso/datapage.h:25:
In file included from arch/loongarch/include/asm/vdso/arch_data.h:13:
In file included from arch/loongarch/include/asm/vdso.h:10:
In file included from include/linux/mm.h:36:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:114:11: warning: array index 3 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds]
114 | return (set1->sig[3] == set2->sig[3]) &&
| ^ ~
include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from kernel/time/vsyscall.c:12:
In file included from include/vdso/datapage.h:25:
In file included from arch/loongarch/include/asm/vdso/arch_data.h:13:
In file included from arch/loongarch/include/asm/vdso.h:10:
In file included from include/linux/mm.h:36:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:114:27: warning: array index 3 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds]
114 | return (set1->sig[3] == set2->sig[3]) &&
| ^ ~
include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from kernel/time/vsyscall.c:12:
In file included from include/vdso/datapage.h:25:
In file included from arch/loongarch/include/asm/vdso/arch_data.h:13:
In file included from arch/loongarch/include/asm/vdso.h:10:
In file included from include/linux/mm.h:36:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:6:
include/linux/signal.h:115:5: warning: array index 2 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds]
115 | (set1->sig[2] == set2->sig[2]) &&
| ^ ~
include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here
62 | unsigned long sig[_NSIG_WORDS];
| ^
In file included from kernel/time/vsyscall.c:12:
vim +80 include/linux/hrtimer_rearm.h
15dd3a9488557d Peter Zijlstra 2026-02-24 74
a43b4856bc0396 Peter Zijlstra 2026-02-24 75 #else /* CONFIG_HRTIMER_REARM_DEFERRED */
a43b4856bc0396 Peter Zijlstra 2026-02-24 76 static __always_inline void __hrtimer_rearm_deferred(void) { }
a43b4856bc0396 Peter Zijlstra 2026-02-24 77 static __always_inline void hrtimer_rearm_deferred(void) { }
a43b4856bc0396 Peter Zijlstra 2026-02-24 78 static __always_inline void hrtimer_rearm_deferred_tif(unsigned long tif_work) { }
a43b4856bc0396 Peter Zijlstra 2026-02-24 79 static __always_inline bool
a43b4856bc0396 Peter Zijlstra 2026-02-24 @80 hrtimer_rearm_deferred_user_irq(unsigned long *tif_work, const unsigned long tif_mask) { return false; }
a43b4856bc0396 Peter Zijlstra 2026-02-24 81 static __always_inline bool hrtimer_test_and_clear_rearm_deferred(void) { return false; }
a43b4856bc0396 Peter Zijlstra 2026-02-24 82 #endif /* !CONFIG_HRTIMER_REARM_DEFERRED */
a43b4856bc0396 Peter Zijlstra 2026-02-24 83
:::::: The code at line 80 was first introduced by commit
:::::: a43b4856bc039675165a50d9ef5f41b28520f0f4 hrtimer: Prepare stubs for deferred rearming
:::::: TO: Peter Zijlstra <peterz@infradead.org>
:::::: CC: Peter Zijlstra <peterz@infradead.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-26 19:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-26 19:13 [thomas-weissschuh:b4/hrtimer-header-dependencies 5/5] include/linux/hrtimer_rearm.h:80:97: error: use of undeclared identifier 'false'; did you mean 'else'? kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox