* [peterz-queue:x86/syscall 4/5] kernel/sys_ni.c:354:1: error: conflicting types for '__x64_sys_gettimeofday'
@ 2026-10-29 17:39 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-29 17:39 UTC (permalink / raw)
To: Peter Zijlstra; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/syscall
head: 57a2da426dba48424406ee52c0c931c6d024138a
commit: 91b5c0df2a770d3c281a82da51feb9b488bd7ace [4/5] x86_64/entry: Mark all syscalls __noendbr
config: x86_64-randconfig-2200-20261029 (https://download.01.org/0day-ci/archive/20261029/202610291828.0Bgo0RWM-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
smatch: v0.5.0-9187-g5189e3fb
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261029/202610291828.0Bgo0RWM-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/202610291828.0Bgo0RWM-lkp@intel.com/
All errors (new ones prefixed by >>):
>> kernel/sys_ni.c:354:1: error: conflicting types for '__x64_sys_gettimeofday'
354 | COND_SYSCALL(gettimeofday);
| ^
arch/x86/include/asm/syscall_wrapper.h:253:2: note: expanded from macro 'COND_SYSCALL'
253 | __X64_COND_SYSCALL(name) \
| ^
arch/x86/include/asm/syscall_wrapper.h:116:2: note: expanded from macro '__X64_COND_SYSCALL'
116 | __COND_SYSCALL(x64, sys_##name)
| ^
arch/x86/include/asm/syscall_wrapper.h:101:14: note: expanded from macro '__COND_SYSCALL'
101 | __weak long __##abi##_##name(const struct pt_regs *__unused); \
| ^
<scratch space>:93:1: note: expanded from here
93 | __x64_sys_gettimeofday
| ^
arch/x86/include/asm/syscall_wrapper.h:262:16: note: previous declaration is here
262 | long __noendbr __x64_sys_gettimeofday(const struct pt_regs *regs);
| ^
>> kernel/sys_ni.c:354:1: error: conflicting types for '__x64_sys_gettimeofday'
354 | COND_SYSCALL(gettimeofday);
| ^
arch/x86/include/asm/syscall_wrapper.h:253:2: note: expanded from macro 'COND_SYSCALL'
253 | __X64_COND_SYSCALL(name) \
| ^
arch/x86/include/asm/syscall_wrapper.h:116:2: note: expanded from macro '__X64_COND_SYSCALL'
116 | __COND_SYSCALL(x64, sys_##name)
| ^
arch/x86/include/asm/syscall_wrapper.h:102:14: note: expanded from macro '__COND_SYSCALL'
102 | __weak long __##abi##_##name(const struct pt_regs *__unused) \
| ^
<scratch space>:96:1: note: expanded from here
96 | __x64_sys_gettimeofday
| ^
arch/x86/include/asm/syscall_wrapper.h:262:16: note: previous declaration is here
262 | long __noendbr __x64_sys_gettimeofday(const struct pt_regs *regs);
| ^
>> kernel/sys_ni.c:356:1: error: conflicting types for '__x64_sys_time'
356 | COND_SYSCALL(time);
| ^
arch/x86/include/asm/syscall_wrapper.h:253:2: note: expanded from macro 'COND_SYSCALL'
253 | __X64_COND_SYSCALL(name) \
| ^
arch/x86/include/asm/syscall_wrapper.h:116:2: note: expanded from macro '__X64_COND_SYSCALL'
116 | __COND_SYSCALL(x64, sys_##name)
| ^
arch/x86/include/asm/syscall_wrapper.h:101:14: note: expanded from macro '__COND_SYSCALL'
101 | __weak long __##abi##_##name(const struct pt_regs *__unused); \
| ^
<scratch space>:114:1: note: expanded from here
114 | __x64_sys_time
| ^
arch/x86/include/asm/syscall_wrapper.h:263:16: note: previous declaration is here
263 | long __noendbr __x64_sys_time(const struct pt_regs *regs);
| ^
>> kernel/sys_ni.c:356:1: error: conflicting types for '__x64_sys_time'
356 | COND_SYSCALL(time);
| ^
arch/x86/include/asm/syscall_wrapper.h:253:2: note: expanded from macro 'COND_SYSCALL'
253 | __X64_COND_SYSCALL(name) \
| ^
arch/x86/include/asm/syscall_wrapper.h:116:2: note: expanded from macro '__X64_COND_SYSCALL'
116 | __COND_SYSCALL(x64, sys_##name)
| ^
arch/x86/include/asm/syscall_wrapper.h:102:14: note: expanded from macro '__COND_SYSCALL'
102 | __weak long __##abi##_##name(const struct pt_regs *__unused) \
| ^
<scratch space>:117:1: note: expanded from here
117 | __x64_sys_time
| ^
arch/x86/include/asm/syscall_wrapper.h:263:16: note: previous declaration is here
263 | long __noendbr __x64_sys_time(const struct pt_regs *regs);
| ^
4 errors generated.
vim +/__x64_sys_gettimeofday +354 kernel/sys_ni.c
70dd4b3160798b Dominik Brodowski 2018-03-06 330
942437c97fd9ff Arnd Bergmann 2019-07-15 331 /* optional: time32 */
942437c97fd9ff Arnd Bergmann 2019-07-15 332 COND_SYSCALL(time32);
942437c97fd9ff Arnd Bergmann 2019-07-15 333 COND_SYSCALL(stime32);
942437c97fd9ff Arnd Bergmann 2019-07-15 334 COND_SYSCALL(utime32);
942437c97fd9ff Arnd Bergmann 2019-07-15 335 COND_SYSCALL(adjtimex_time32);
942437c97fd9ff Arnd Bergmann 2019-07-15 336 COND_SYSCALL(sched_rr_get_interval_time32);
942437c97fd9ff Arnd Bergmann 2019-07-15 337 COND_SYSCALL(nanosleep_time32);
942437c97fd9ff Arnd Bergmann 2019-07-15 338 COND_SYSCALL(rt_sigtimedwait_time32);
942437c97fd9ff Arnd Bergmann 2019-07-15 339 COND_SYSCALL_COMPAT(rt_sigtimedwait_time32);
942437c97fd9ff Arnd Bergmann 2019-07-15 340 COND_SYSCALL(timer_settime32);
942437c97fd9ff Arnd Bergmann 2019-07-15 341 COND_SYSCALL(timer_gettime32);
942437c97fd9ff Arnd Bergmann 2019-07-15 342 COND_SYSCALL(clock_settime32);
942437c97fd9ff Arnd Bergmann 2019-07-15 343 COND_SYSCALL(clock_gettime32);
942437c97fd9ff Arnd Bergmann 2019-07-15 344 COND_SYSCALL(clock_getres_time32);
942437c97fd9ff Arnd Bergmann 2019-07-15 345 COND_SYSCALL(clock_nanosleep_time32);
942437c97fd9ff Arnd Bergmann 2019-07-15 346 COND_SYSCALL(utimes_time32);
942437c97fd9ff Arnd Bergmann 2019-07-15 347 COND_SYSCALL(futimesat_time32);
942437c97fd9ff Arnd Bergmann 2019-07-15 348 COND_SYSCALL(pselect6_time32);
942437c97fd9ff Arnd Bergmann 2019-07-15 349 COND_SYSCALL_COMPAT(pselect6_time32);
942437c97fd9ff Arnd Bergmann 2019-07-15 350 COND_SYSCALL(ppoll_time32);
942437c97fd9ff Arnd Bergmann 2019-07-15 351 COND_SYSCALL_COMPAT(ppoll_time32);
942437c97fd9ff Arnd Bergmann 2019-07-15 352 COND_SYSCALL(utimensat_time32);
942437c97fd9ff Arnd Bergmann 2019-07-15 353 COND_SYSCALL(clock_adjtime32);
dce21fb3d57016 Thomas Weißschuh 2026-07-02 @354 COND_SYSCALL(gettimeofday);
dce21fb3d57016 Thomas Weißschuh 2026-07-02 355 COND_SYSCALL_COMPAT(gettimeofday);
dce21fb3d57016 Thomas Weißschuh 2026-07-02 @356 COND_SYSCALL(time);
dce21fb3d57016 Thomas Weißschuh 2026-07-02 357 COND_SYSCALL(stime);
70dd4b3160798b Dominik Brodowski 2018-03-06 358
:::::: The code at line 354 was first introduced by commit
:::::: dce21fb3d570169388e2e9d8a60e8d42c1c82a51 time: Respect COMPAT_32BIT_TIME for old time type functions
:::::: TO: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@kernel.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-10-29 17:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-29 17:39 [peterz-queue:x86/syscall 4/5] kernel/sys_ni.c:354:1: error: conflicting types for '__x64_sys_gettimeofday' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.