* [mark:randomize-kstack-siphash 1/1] arch/s390/include/asm/entry-common.h:57:2: error: call to undeclared function 'choose_random_kstack_offset'; ISO C99 and later do not support implicit function declarations
@ 2025-11-25 13:53 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-11-25 13:53 UTC (permalink / raw)
To: Mark Rutland; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git randomize-kstack-siphash
head: 0783912db6e30339d55a5dc7eb6a696b440bedb3
commit: 0783912db6e30339d55a5dc7eb6a696b440bedb3 [1/1] HACK: use siphash to generate kstack offset per-task
config: s390-allnoconfig (https://download.01.org/0day-ci/archive/20251125/202511252158.AzXWFYsv-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9e9fe08b16ea2c4d9867fb4974edf2a3776d6ece)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251125/202511252158.AzXWFYsv-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/202511252158.AzXWFYsv-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/s390/kernel/traps.c:24:
In file included from include/linux/entry-common.h:5:
In file included from include/linux/irq-entry-common.h:12:
>> arch/s390/include/asm/entry-common.h:57:2: error: call to undeclared function 'choose_random_kstack_offset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
57 | choose_random_kstack_offset(get_tod_clock_fast());
| ^
1 error generated.
--
In file included from arch/s390/kernel/syscall.c:35:
In file included from include/linux/entry-common.h:5:
In file included from include/linux/irq-entry-common.h:12:
>> arch/s390/include/asm/entry-common.h:57:2: error: call to undeclared function 'choose_random_kstack_offset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
57 | choose_random_kstack_offset(get_tod_clock_fast());
| ^
>> arch/s390/kernel/syscall.c:89:2: error: call to undeclared function 'add_random_kstack_offset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
89 | add_random_kstack_offset();
| ^
2 errors generated.
vim +/choose_random_kstack_offset +57 arch/s390/include/asm/entry-common.h
56e62a73702836 Sven Schnelle 2020-11-21 53
bae1cd368c45d1 Sven Schnelle 2021-04-29 54 static inline void arch_exit_to_user_mode_prepare(struct pt_regs *regs,
bae1cd368c45d1 Sven Schnelle 2021-04-29 55 unsigned long ti_work)
bae1cd368c45d1 Sven Schnelle 2021-04-29 56 {
6db1208bf95b4c Kees Cook 2024-06-19 @57 choose_random_kstack_offset(get_tod_clock_fast());
bae1cd368c45d1 Sven Schnelle 2021-04-29 58 }
bae1cd368c45d1 Sven Schnelle 2021-04-29 59
:::::: The code at line 57 was first introduced by commit
:::::: 6db1208bf95b4c091897b597c415e11edeab2e2d randomize_kstack: Remove non-functional per-arch entropy filtering
:::::: TO: Kees Cook <kees@kernel.org>
:::::: CC: Kees Cook <kees@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:[~2025-11-25 13:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-25 13:53 [mark:randomize-kstack-siphash 1/1] arch/s390/include/asm/entry-common.h:57:2: error: call to undeclared function 'choose_random_kstack_offset'; ISO C99 and later do not support implicit function declarations 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.