mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [tip:irq/drivers 20/24] drivers/irqchip/irq-mtk-cirq.c:292:34: warning: unused variable 'mtk_cirq_of_match'
@ 2026-11-17 13:52 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-11-17 13:52 UTC (permalink / raw)
  To: Zyta Szpak; +Cc: oe-kbuild-all, linux-kernel, x86, Thomas Gleixner

Hi Zyta,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/drivers
head:   aab02e49f0b54a0837e58c67651c4abdad1a3208
commit: 702ae15488ce96d9818deee812d9fc271316fa6e [20/24] irqchip/mediatek: Add Kconfig option for MediaTek SYSIRQ and CIRQ
config: hexagon-randconfig-r2111-20261117 (https://download.01.org/0day-ci/archive/20261117/20261117144350.wOuBa9ZW-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project c7014922f5829426952a38d079220c21b0a8ebe8)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261117/20261117144350.wOuBa9ZW-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
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261117144350.wOuBa9ZW-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/irqchip/irq-mtk-cirq.c:292:34: warning: unused variable 'mtk_cirq_of_match' [-Wunused-const-variable]
     292 | static const struct of_device_id mtk_cirq_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~
   1 warning generated.


vim +/mtk_cirq_of_match +292 drivers/irqchip/irq-mtk-cirq.c

9dbbbd33aafaf1f Youlin Pei                 2017-04-07  291  
45ac01959edcecf AngeloGioacchino Del Regno 2022-11-28 @292  static const struct of_device_id mtk_cirq_of_match[] = {
45ac01959edcecf AngeloGioacchino Del Regno 2022-11-28  293  	{ .compatible = "mediatek,mt2701-cirq", .data = &mtk_cirq_regoffs_v1 },
45ac01959edcecf AngeloGioacchino Del Regno 2022-11-28  294  	{ .compatible = "mediatek,mt8135-cirq", .data = &mtk_cirq_regoffs_v1 },
45ac01959edcecf AngeloGioacchino Del Regno 2022-11-28  295  	{ .compatible = "mediatek,mt8173-cirq", .data = &mtk_cirq_regoffs_v1 },
5c4e0aac0b2a271 AngeloGioacchino Del Regno 2022-11-28  296  	{ .compatible = "mediatek,mt8192-cirq", .data = &mtk_cirq_regoffs_v2 },
45ac01959edcecf AngeloGioacchino Del Regno 2022-11-28  297  	{ /* sentinel */ }
45ac01959edcecf AngeloGioacchino Del Regno 2022-11-28  298  };
45ac01959edcecf AngeloGioacchino Del Regno 2022-11-28  299  

:::::: The code at line 292 was first introduced by commit
:::::: 45ac01959edcecfa5d6652c2397d3866e55b0da8 irqchip/irq-mtk-cirq: Move register offsets to const array

:::::: TO: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
:::::: CC: Marc Zyngier <maz@kernel.org>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-17 13:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-17 13:52 [tip:irq/drivers 20/24] drivers/irqchip/irq-mtk-cirq.c:292:34: warning: unused variable 'mtk_cirq_of_match' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®