All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: arch/s390/kernel/uv.c:250:16: sparse: sparse: Initializer entry defined twice
Date: Thu, 03 Dec 2026 20:07:52 +0100	[thread overview]
Message-ID: <20261203200205.FXFmmnc7-lkp@intel.com> (raw)

:::::: 
:::::: 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

                 reply	other threads:[~2026-12-03 19:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261203200205.FXFmmnc7-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.