public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
* [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?
@ 2024-02-25 19:15 kernel test robot
  2024-02-26  8:18 ` Sumanth Korikkar
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2024-02-25 19:15 UTC (permalink / raw)
  To: Josh Poimboeuf
  Cc: oe-kbuild-all, linux-s390, Heiko Carstens, Sumanth Korikkar

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@intel.com/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@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/202402260305.0Kp1dQiZ-lkp@intel.com/

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [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?
  2024-02-25 19:15 [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? kernel test robot
@ 2024-02-26  8:18 ` Sumanth Korikkar
  0 siblings, 0 replies; 2+ messages in thread
From: Sumanth Korikkar @ 2024-02-26  8:18 UTC (permalink / raw)
  To: kernel test robot
  Cc: Josh Poimboeuf, oe-kbuild-all, linux-s390, Heiko Carstens,
	agordeev

On Mon, Feb 26, 2024 at 03:15:26AM +0800, kernel test robot wrote:
> 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@intel.com/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@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/202402260305.0Kp1dQiZ-lkp@intel.com/
> 
> 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
>

This is already fixed by Alexander Gordeev in our branch and should be
available soon.

Thanks,
Sumanth

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-26  8:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-25 19:15 [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? kernel test robot
2024-02-26  8:18 ` Sumanth Korikkar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox