* [ardb:x86-pie-v2 6/15] arch/x86/include/asm/processor.h:416:16: error: implicit declaration of function 'per_cpu_offset'
@ 2024-01-20 4:52 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-01-20 4:52 UTC (permalink / raw)
To: Ard Biesheuvel; +Cc: oe-kbuild-all
tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git x86-pie-v2
head: 29ffb3695f4c4dbeaf110a752cee0d918e3b6519
commit: e68ec274b0f929ef4ccb4be27152a2464a103f74 [6/15] x86: Use stack protector with guard symbol if supported
config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20240120/202401201228.lBmoRWMP-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240120/202401201228.lBmoRWMP-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/202401201228.lBmoRWMP-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/x86/include/asm/cpufeature.h:5,
from arch/x86/include/asm/thread_info.h:53,
from include/linux/thread_info.h:60,
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/processor.h: In function 'cpu_kernelmode_gs_base':
>> arch/x86/include/asm/processor.h:416:16: error: implicit declaration of function 'per_cpu_offset' [-Werror=implicit-function-declaration]
416 | return per_cpu_offset(cpu);
| ^~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:116: arch/x86/kernel/asm-offsets.s] Error 1
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [Makefile:1191: prepare0] Error 2
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:234: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +/per_cpu_offset +416 arch/x86/include/asm/processor.h
413
414 static inline unsigned long cpu_kernelmode_gs_base(int cpu)
415 {
> 416 return per_cpu_offset(cpu);
417 }
418
--
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:[~2024-01-20 4:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-20 4:52 [ardb:x86-pie-v2 6/15] arch/x86/include/asm/processor.h:416:16: error: implicit declaration of function 'per_cpu_offset' 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.