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/pse-pd/realtek-pse-mcu-uart.c:148:9: sparse: sparse: Initializer entry defined twice
Date: Thu, 03 Dec 2026 16:57:32 +0100	[thread overview]
Message-ID: <20261203165602.drkW9aTY-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: Jonas Jelonek <jelonek.jonas@gmail.com>
CC: Paolo Abeni <pabeni@redhat.com>
CC: Kory Maincent <kory.maincent@bootlin.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d06ce6f1eb5eeffd4ebcfde345dc34a98131d106
commit: 5cc93d9897496bcfde6821579907d309b6883ab7 net: pse-pd: realtek-pse-mcu: add UART transport
date:   4 months ago
:::::: branch date: 15 hours ago
:::::: commit date: 4 months ago
config: sparc-randconfig-r2310-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203165602.drkW9aTY-lkp@intel.com/config)
compiler: sparc-linux-gcc (GCC) 16.2.0
sparse: v0.6.5-rc1-94-g0d159c10
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261203/20261203165602.drkW9aTY-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: 5cc93d989749 ("net: pse-pd: realtek-pse-mcu: add UART transport")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261203165602.drkW9aTY-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/net/pse-pd/realtek-pse-mcu-uart.c:148:9: sparse: sparse: Initializer entry defined twice
   drivers/net/pse-pd/realtek-pse-mcu-uart.c:149:9: sparse:   also defined here

vim +148 drivers/net/pse-pd/realtek-pse-mcu-uart.c

5cc93d9897496b Jonas Jelonek 2026-08-13  145  
5cc93d9897496b Jonas Jelonek 2026-08-13  146  static const struct of_device_id rtpse_mcu_uart_of_match[] = {
5cc93d9897496b Jonas Jelonek 2026-08-13  147  	{ .compatible = "realtek,pse-mcu-gen1", .data = &rtpse_mcu_gen1_data },
5cc93d9897496b Jonas Jelonek 2026-08-13 @148  	{ .compatible = "realtek,pse-mcu-gen2", .data = &rtpse_mcu_gen2_data },
5cc93d9897496b Jonas Jelonek 2026-08-13  149  	{ /* sentinel */ }
5cc93d9897496b Jonas Jelonek 2026-08-13  150  };
5cc93d9897496b Jonas Jelonek 2026-08-13  151  MODULE_DEVICE_TABLE(of, rtpse_mcu_uart_of_match);
5cc93d9897496b Jonas Jelonek 2026-08-13  152  

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

                 reply	other threads:[~2026-12-03 15:58 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=20261203165602.drkW9aTY-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.