mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Zyta Szpak <zyta@google.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	x86@kernel.org, Thomas Gleixner <tglx@kernel.org>
Subject: [tip:irq/drivers 20/24] drivers/irqchip/irq-mtk-cirq.c:292:34: warning: unused variable 'mtk_cirq_of_match'
Date: Tue, 17 Nov 2026 14:52:42 +0100	[thread overview]
Message-ID: <20261117144350.wOuBa9ZW-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-11-17 13:53 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=20261117144350.wOuBa9ZW-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=tglx@kernel.org \
    --cc=x86@kernel.org \
    --cc=zyta@google.com \
    /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 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®