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/phy/apple/atc.c:2278:9: sparse: warning: Initializer entry defined twice
Date: Wed, 02 Dec 2026 03:10:53 +0100	[thread overview]
Message-ID: <20261202030716.JadGrqH6-lkp@intel.com> (raw)

:::::: 
:::::: Manual check reason: "low confidence static check warning: drivers/phy/apple/atc.c:2278:9: sparse: warning: Initializer entry defined twice"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Sven Peter <sven@kernel.org>
CC: Vinod Koul <vkoul@kernel.org>
CC: Janne Grunau <j@jannau.net>
CC: Hector Martin <marcan@marcan.st>
CC: Philipp Zabel <p.zabel@pengutronix.de>
CC: Neal Gompa <neal@gompa.dev>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   693c2e04e3f1d4c59af236e1211b7b8cb165a790
commit: 8e98ca1e74db2ae051c9b545d42b879efa5a2f6c phy: apple: Add Apple Type-C PHY
date:   11 months ago
:::::: branch date: 9 hours ago
:::::: commit date: 11 months ago
config: arm64-randconfig-r2311-20261201 (https://download.01.org/0day-ci/archive/20261202/20261202030716.JadGrqH6-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
sparse: v0.6.5-rc1-94-g0d159c10
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261202/20261202030716.JadGrqH6-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: 8e98ca1e74db ("phy: apple: Add Apple Type-C PHY")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261202030716.JadGrqH6-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   drivers/phy/apple/atc.c:2026:32: sparse: warning: symbol 'atcphy_dwc3_reset_ops' was not declared. Should it be static?
>> drivers/phy/apple/atc.c:2278:9: sparse: warning: Initializer entry defined twice
   drivers/phy/apple/atc.c:2279:9: sparse:   also defined here

vim +2278 drivers/phy/apple/atc.c

8e98ca1e74db2a Sven Peter 2025-12-14  2276  
8e98ca1e74db2a Sven Peter 2025-12-14  2277  static const struct of_device_id atcphy_match[] = {
8e98ca1e74db2a Sven Peter 2025-12-14 @2278  	{ .compatible = "apple,t8103-atcphy" },
8e98ca1e74db2a Sven Peter 2025-12-14  2279  	{},
8e98ca1e74db2a Sven Peter 2025-12-14  2280  };
8e98ca1e74db2a Sven Peter 2025-12-14  2281  MODULE_DEVICE_TABLE(of, atcphy_match);
8e98ca1e74db2a Sven Peter 2025-12-14  2282  

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

                 reply	other threads:[~2026-12-02  2:11 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=20261202030716.JadGrqH6-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.