* [daveh-devel:kss-2026-10-19 16/24] arch/x86/include/asm/thread_info.h:237:6: warning: no previous prototype for 'arch_kernel_shstk_enabled'
@ 2026-10-20 17:23 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-10-20 17:23 UTC (permalink / raw)
To: Dave Hansen; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/daveh/devel.git kss-2026-10-19
head: b28e7d03a8472efab137c77cbb5dd666fa08e9a7
commit: 967449663fb3eb7dcca67c4652293712530809c8 [16/24] arch-shadow-stacks-enabled
config: x86_64-rhel-9.4-kselftests (https://download.01.org/0day-ci/archive/20261020/202610201945.gXEriidq-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261020/202610201945.gXEriidq-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/202610201945.gXEriidq-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from include/linux/thread_info.h:62,
from include/linux/smp.h:118,
from include/linux/interrupt_rc.h:17,
from include/linux/spinlock.h:60,
from include/linux/swait.h:7,
from include/linux/completion.h:12,
from include/linux/crypto.h:15,
from arch/x86/kernel/asm-offsets.c:9:
>> arch/x86/include/asm/thread_info.h:237:6: warning: no previous prototype for 'arch_kernel_shstk_enabled' [-Wmissing-prototypes]
237 | bool arch_kernel_shstk_enabled(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/thread_info.h:237:20: error: redefinition of 'arch_kernel_shstk_enabled'
237 | static inline bool arch_kernel_shstk_enabled(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/include/asm/thread_info.h:237:6: note: previous definition of 'arch_kernel_shstk_enabled' with type 'bool(void)' {aka '_Bool(void)'}
237 | bool arch_kernel_shstk_enabled(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:185: arch/x86/kernel/asm-offsets.s] Error 1
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [Makefile:1425: prepare0] Error 2
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:248: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +/arch_kernel_shstk_enabled +237 arch/x86/include/asm/thread_info.h
236
> 237 bool arch_kernel_shstk_enabled(void)
238 {
239 return cpu_feature_enabled(X86_FEATURE_KERN_SHSTK);
240 }
241 #define arch_init_thread_stacks arch_init_thread_stacks
242
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* [daveh-devel:kss-2026-10-19 16/24] arch/x86/include/asm/thread_info.h:237:6: warning: no previous prototype for 'arch_kernel_shstk_enabled'
@ 2026-10-21 20:02 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-10-21 20:02 UTC (permalink / raw)
To: Dave Hansen; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/daveh/devel.git kss-2026-10-19
head: b28e7d03a8472efab137c77cbb5dd666fa08e9a7
commit: 967449663fb3eb7dcca67c4652293712530809c8 [16/24] arch-shadow-stacks-enabled
config: x86_64-rhel-9.4-kselftests (https://download.01.org/0day-ci/archive/20261022/202610220331.gTfoHeL9-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261022/202610220331.gTfoHeL9-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/202610220331.gTfoHeL9-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from include/linux/thread_info.h:62,
from include/linux/smp.h:118,
from include/linux/interrupt_rc.h:17,
from include/linux/spinlock.h:60,
from include/linux/swait.h:7,
from include/linux/completion.h:12,
from include/linux/crypto.h:15,
from arch/x86/kernel/asm-offsets.c:9:
>> arch/x86/include/asm/thread_info.h:237:6: warning: no previous prototype for 'arch_kernel_shstk_enabled' [-Wmissing-prototypes]
237 | bool arch_kernel_shstk_enabled(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/thread_info.h:237:20: error: redefinition of 'arch_kernel_shstk_enabled'
237 | static inline bool arch_kernel_shstk_enabled(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/include/asm/thread_info.h:237:6: note: previous definition of 'arch_kernel_shstk_enabled' with type 'bool(void)' {aka '_Bool(void)'}
237 | bool arch_kernel_shstk_enabled(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:185: arch/x86/kernel/asm-offsets.s] Error 1
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [Makefile:1425: prepare0] Error 2
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:248: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +/arch_kernel_shstk_enabled +237 arch/x86/include/asm/thread_info.h
236
> 237 bool arch_kernel_shstk_enabled(void)
238 {
239 return cpu_feature_enabled(X86_FEATURE_KERN_SHSTK);
240 }
241 #define arch_init_thread_stacks arch_init_thread_stacks
242
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-21 20:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-20 17:23 [daveh-devel:kss-2026-10-19 16/24] arch/x86/include/asm/thread_info.h:237:6: warning: no previous prototype for 'arch_kernel_shstk_enabled' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2026-10-21 20:02 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.