All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Johan Hovold <johan@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	Thomas Gleixner <tglx@linutronix.de>,
	Florian Fainelli <florian.fainelli@broadcom.com>
Subject: drivers/irqchip/irq-brcmstb-l2.c:273:1: sparse: sparse: Initializer entry defined twice
Date: Thu, 03 Dec 2026 12:35:20 +0100	[thread overview]
Message-ID: <20261203123403.ttOSkeT5-lkp@intel.com> (raw)

Hi Johan,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d06ce6f1eb5eeffd4ebcfde345dc34a98131d106
commit: 1230fbb225abf3f04c64697c6b0f8dfb473b3790 irqchip: Enable compile testing of Broadcom drivers
date:   1 year, 2 months ago
config: parisc-randconfig-r2307-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203123403.ttOSkeT5-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 9.5.0
sparse: v0.6.5-rc1-94-g0d159c10
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261203/20261203123403.ttOSkeT5-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: 1230fbb225ab ("irqchip: Enable compile testing of Broadcom drivers")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261203123403.ttOSkeT5-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   drivers/irqchip/irq-brcmstb-l2.c:95:13: sparse: sparse: context imbalance in '__brcmstb_l2_intc_suspend' - wrong count at exit
   drivers/irqchip/irq-brcmstb-l2.c:123:13: sparse: sparse: context imbalance in 'brcmstb_l2_intc_resume' - wrong count at exit
>> drivers/irqchip/irq-brcmstb-l2.c:273:1: sparse: sparse: Initializer entry defined twice
   drivers/irqchip/irq-brcmstb-l2.c:274:1: sparse:   also defined here
--
>> drivers/irqchip/irq-bcm7038-l1.c:457:1: sparse: sparse: Initializer entry defined twice
   drivers/irqchip/irq-bcm7038-l1.c:458:1: sparse:   also defined here
--
   drivers/irqchip/irq-bcm7120-l2.c:187:38: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/irqchip/irq-bcm7120-l2.c:187:38: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/irqchip/irq-bcm7120-l2.c:187:38: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/irqchip/irq-bcm7120-l2.c:187:38: sparse: sparse: cast removes address space '__iomem' of expression
   drivers/irqchip/irq-bcm7120-l2.c:64:9: sparse: sparse: context imbalance in 'bcm7120_l2_intc_irq_handle' - different lock contexts for basic block
   drivers/irqchip/irq-bcm7120-l2.c:83:13: sparse: sparse: context imbalance in 'bcm7120_l2_intc_suspend' - wrong count at exit
   drivers/irqchip/irq-bcm7120-l2.c:93:13: sparse: sparse: context imbalance in 'bcm7120_l2_intc_resume' - wrong count at exit
>> drivers/irqchip/irq-bcm7120-l2.c:345:1: sparse: sparse: Initializer entry defined twice
   drivers/irqchip/irq-bcm7120-l2.c:346:1: sparse:   also defined here

vim +273 drivers/irqchip/irq-brcmstb-l2.c

51d9db5c8fbbed Florian Fainelli 2021-10-20  268  
51d9db5c8fbbed Florian Fainelli 2021-10-20  269  IRQCHIP_PLATFORM_DRIVER_BEGIN(brcmstb_l2)
1e3e330c07076a Johan Hovold     2025-10-13  270  IRQCHIP_MATCH("brcm,l2-intc", brcmstb_l2_edge_intc_probe)
1e3e330c07076a Johan Hovold     2025-10-13  271  IRQCHIP_MATCH("brcm,hif-spi-l2-intc", brcmstb_l2_edge_intc_probe)
1e3e330c07076a Johan Hovold     2025-10-13  272  IRQCHIP_MATCH("brcm,upg-aux-aon-l2-intc", brcmstb_l2_edge_intc_probe)
1e3e330c07076a Johan Hovold     2025-10-13 @273  IRQCHIP_MATCH("brcm,bcm7271-l2-intc", brcmstb_l2_lvl_intc_probe)

:::::: The code at line 273 was first introduced by commit
:::::: 1e3e330c07076a0582385bbea029c9cc918fa30d irqchip: Pass platform device to platform drivers

:::::: TO: Johan Hovold <johan@kernel.org>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>

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

                 reply	other threads:[~2026-12-03 11:36 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=20261203123403.ttOSkeT5-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=florian.fainelli@broadcom.com \
    --cc=johan@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=tglx@linutronix.de \
    /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.