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: drivers/net/ethernet/intel/idpf/idpf_main.c:377:9: sparse: sparse: Initializer entry defined twice
Date: Thu, 03 Dec 2026 21:12:24 +0100	[thread overview]
Message-ID: <20261203210434.BElO48hd-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
CC: Paolo Abeni <pabeni@redhat.com>
CC: Sridhar Samudrala <sridhar.samudrala@intel.com>
CC: Simon Horman <horms@kernel.org>
CC: Madhu Chittim <madhu.chittim@intel.com>
CC: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
CC: Tony Nguyen <anthony.l.nguyen@intel.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   007722b8211f7b34fdf21b1e6a9c32497633ea29
commit: 13068e9d57264d0a86b8195817a01155ba33d230 idpf: add support for IDPF PCI programming interface
date:   1 year, 1 month ago
:::::: branch date: 3 hours ago
:::::: commit date: 1 year, 1 month ago
config: um-randconfig-r2306-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203210434.BElO48hd-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
sparse: v0.6.5-rc1-94-g0d159c10
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261203/20261203210434.BElO48hd-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: 13068e9d5726 ("idpf: add support for IDPF PCI programming interface")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261203210434.BElO48hd-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/net/ethernet/intel/idpf/idpf_main.c:377:9: sparse: sparse: Initializer entry defined twice
   drivers/net/ethernet/intel/idpf/idpf_main.c:378:9: sparse:   also defined here

vim +377 drivers/net/ethernet/intel/idpf/idpf_main.c

e850efed5e152e6b Phani Burra       2023-08-07  371  
e850efed5e152e6b Phani Burra       2023-08-07  372  /* idpf_pci_tbl - PCI Dev idpf ID Table
e850efed5e152e6b Phani Burra       2023-08-07  373   */
e850efed5e152e6b Phani Burra       2023-08-07  374  static const struct pci_device_id idpf_pci_tbl[] = {
e850efed5e152e6b Phani Burra       2023-08-07  375  	{ PCI_VDEVICE(INTEL, IDPF_DEV_ID_PF)},
e850efed5e152e6b Phani Burra       2023-08-07  376  	{ PCI_VDEVICE(INTEL, IDPF_DEV_ID_VF)},
13068e9d57264d0a Pavan Kumar Linga 2025-11-03 @377  	{ PCI_DEVICE_CLASS(IDPF_CLASS_NETWORK_ETHERNET_PROGIF, ~0)},
e850efed5e152e6b Phani Burra       2023-08-07  378  	{ /* Sentinel */ }
e850efed5e152e6b Phani Burra       2023-08-07  379  };
e850efed5e152e6b Phani Burra       2023-08-07  380  MODULE_DEVICE_TABLE(pci, idpf_pci_tbl);
e850efed5e152e6b Phani Burra       2023-08-07  381  

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

                 reply	other threads:[~2026-12-03 20:13 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=20261203210434.BElO48hd-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.