All of lore.kernel.org
 help / color / mirror / Atom feed
* arch/s390/kernel/uv.c:250:16: sparse: sparse: Initializer entry defined twice
@ 2026-12-03 19:07 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-12-03 19:07 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "sparse: Initializer entry defined twice"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Heiko Carstens <hca@linux.ibm.com>
CC: Vasily Gorbik <gor@linux.ibm.com>
CC: Christian Borntraeger <borntraeger@linux.ibm.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   007722b8211f7b34fdf21b1e6a9c32497633ea29
commit: aab0734094cef631d611e404c389d89f0b869f5d KVM: s390: pv: Use VM_SPARSE area for guest variable storage area
date:   4 months ago
:::::: branch date: 2 hours ago
:::::: commit date: 4 months ago
config: s390-randconfig-r2304-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203200205.FXFmmnc7-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project c81a35549c5c976f799dc394e6eaf41da1ff2f64)
sparse: v0.6.5-rc1-94-g0d159c10
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261203/20261203200205.FXFmmnc7-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
| Fixes: aab0734094ce ("KVM: s390: pv: Use VM_SPARSE area for guest variable storage area")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261203200205.FXFmmnc7-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> arch/s390/kernel/uv.c:250:16: sparse: sparse: Initializer entry defined twice
   arch/s390/kernel/uv.c:250:16: sparse:   also defined here

vim +250 arch/s390/kernel/uv.c

aab0734094cef6 Heiko Carstens 2026-07-20  244  
aab0734094cef6 Heiko Carstens 2026-07-20  245  static int uv_alloc_range_cb(pte_t *ptep, unsigned long addr, void *data)
aab0734094cef6 Heiko Carstens 2026-07-20  246  {
aab0734094cef6 Heiko Carstens 2026-07-20  247  	struct page *page;
aab0734094cef6 Heiko Carstens 2026-07-20  248  	pte_t pte;
aab0734094cef6 Heiko Carstens 2026-07-20  249  
aab0734094cef6 Heiko Carstens 2026-07-20 @250  	page = alloc_page(GFP_KERNEL_ACCOUNT | __GFP_ZERO);
aab0734094cef6 Heiko Carstens 2026-07-20  251  	if (!page)
aab0734094cef6 Heiko Carstens 2026-07-20  252  		return -ENOMEM;
aab0734094cef6 Heiko Carstens 2026-07-20  253  	pte = __pte(page_to_phys(page) | pgprot_val(PAGE_KERNEL));
aab0734094cef6 Heiko Carstens 2026-07-20  254  	set_pte(ptep, pte);
aab0734094cef6 Heiko Carstens 2026-07-20  255  	return 0;
aab0734094cef6 Heiko Carstens 2026-07-20  256  }
aab0734094cef6 Heiko Carstens 2026-07-20  257  

-- 
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:[~2026-12-03 19:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 19:07 arch/s390/kernel/uv.c:250:16: sparse: sparse: Initializer entry defined twice 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.