[s390:features 97/102] arch/s390/boot/startup.c:180:5: sparse: sparse: symbol 'vmlinux_relocs_64_start' was not declared. Should it be static?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git features
head:   a795e5d2347def129734a7f247ac70339d50d8c2
commit: 778666df60f0d96f215e33e27448de47a2207fb3 [97/102] s390: compile relocatable kernel without -fPIE
config: s390-randconfig-r122-20240225 (https://download.01.org/0day-ci/archive/20240226/202402260305.0Kp1dQiZ-lkp@xxxxxxxxx/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project edd4aee4dd9b5b98b2576a6f783e4086173d902a)
reproduce: (https://download.01.org/0day-ci/archive/20240226/202402260305.0Kp1dQiZ-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402260305.0Kp1dQiZ-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> arch/s390/boot/startup.c:180:5: sparse: sparse: symbol 'vmlinux_relocs_64_start' was not declared. Should it be static?
>> arch/s390/boot/startup.c:181:5: sparse: sparse: symbol 'vmlinux_relocs_64_end' was not declared. Should it be static?

vim +/vmlinux_relocs_64_start +180 arch/s390/boot/startup.c

   175	
   176	static void kaslr_adjust_got(unsigned long offset) {}
   177	static void rescue_relocs(void) {}
   178	static void free_relocs(void) {}
   179	#else
 > 180	int *vmlinux_relocs_64_start;
 > 181	int *vmlinux_relocs_64_end;
   182	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux