public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Brian Masney <bmasney@redhat.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	linux-kernel@vger.kernel.org, x86@kernel.org,
	Thomas Gleixner <tglx@kernel.org>
Subject: [tip:irq/drivers 5/41] drivers/irqchip/irq-pic32-evic.c:54:15: warning: variable 'board_bind_eic_interrupt' set but not used
Date: Mon, 30 Mar 2026 08:04:28 +0800	[thread overview]
Message-ID: <202603300715.4HuMMAFb-lkp@intel.com> (raw)

Hi Brian,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/drivers
head:   9fd2170d70178faa0427adaa9d2dfdbfa231d1b7
commit: 4b52df1b4e1d9cf4cb5a8e1b5287d1e3d1a6aa0c [5/41] irqchip/irq-pic32-evic: Allow driver to be compiled with COMPILE_TEST
config: arm-randconfig-002-20260330 (https://download.01.org/0day-ci/archive/20260330/202603300715.4HuMMAFb-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 054e11d1a17e5ba88bb1a8ef32fad3346e80b186)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260330/202603300715.4HuMMAFb-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/202603300715.4HuMMAFb-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/irqchip/irq-pic32-evic.c:54:15: warning: variable 'board_bind_eic_interrupt' set but not used [-Wunused-but-set-global]
      54 | static void (*board_bind_eic_interrupt)(int irq, int regset);
         |               ^
   1 warning generated.


vim +/board_bind_eic_interrupt +54 drivers/irqchip/irq-pic32-evic.c

aaa8666ada780e8 Cristian Birsan 2016-01-13  44  
15f9b251fe40499 Brian Masney    2026-02-22  45  #ifdef CONFIG_MIPS
aaa8666ada780e8 Cristian Birsan 2016-01-13  46  asmlinkage void __weak plat_irq_dispatch(void)
aaa8666ada780e8 Cristian Birsan 2016-01-13  47  {
1fee9db9b42d821 Marc Zyngier    2021-07-06  48  	unsigned int hwirq;
aaa8666ada780e8 Cristian Birsan 2016-01-13  49  
aaa8666ada780e8 Cristian Birsan 2016-01-13  50  	hwirq = readl(evic_base + REG_INTSTAT) & 0xFF;
1fee9db9b42d821 Marc Zyngier    2021-07-06  51  	do_domain_IRQ(evic_irq_domain, hwirq);
aaa8666ada780e8 Cristian Birsan 2016-01-13  52  }
282f8b547d51d8a Brian Masney    2026-02-22  53  #else
282f8b547d51d8a Brian Masney    2026-02-22 @54  static void (*board_bind_eic_interrupt)(int irq, int regset);
15f9b251fe40499 Brian Masney    2026-02-22  55  #endif
aaa8666ada780e8 Cristian Birsan 2016-01-13  56  

:::::: The code at line 54 was first introduced by commit
:::::: 282f8b547d51d8a33b9230ba58e2324babe0a96a irqchip/irq-pic32-evic: Define board_bind_eic_interrupt for !MIPS builds

:::::: TO: Brian Masney <bmasney@redhat.com>
:::::: CC: Thomas Gleixner <tglx@kernel.org>

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

                 reply	other threads:[~2026-03-30  0:05 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=202603300715.4HuMMAFb-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bmasney@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=tglx@kernel.org \
    --cc=x86@kernel.org \
    /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