* [linux-next:master 12218/12292] drivers/irqchip/irq-renesas-h8300h.c:66:13: error: unused variable 'bit'
@ 2021-09-11 16:44 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-09-11 16:44 UTC (permalink / raw)
To: Yoshinori Sato; +Cc: kbuild-all, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 2449 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: aa14a3016182213f022068500486ef3bcacb9006
commit: 1397e99a0cfdce6d35cb9ae5d558428c8a88cc90 [12218/12292] Merge remote-tracking branch 'h8300/h8300-next'
config: h8300-randconfig-r015-20210910 (attached as .config)
compiler: h8300-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=1397e99a0cfdce6d35cb9ae5d558428c8a88cc90
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 1397e99a0cfdce6d35cb9ae5d558428c8a88cc90
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=h8300
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/irqchip/irq-renesas-h8300h.c: In function 'h8300h_ack_irq':
>> drivers/irqchip/irq-renesas-h8300h.c:66:13: error: unused variable 'bit' [-Werror=unused-variable]
66 | int bit;
| ^~~
cc1: all warnings being treated as errors
vim +/bit +66 drivers/irqchip/irq-renesas-h8300h.c
8bd55b5fce8011 Yoshinori Sato 2020-04-15 63
8bd55b5fce8011 Yoshinori Sato 2020-04-15 64 static void h8300h_ack_irq(struct irq_data *data)
8bd55b5fce8011 Yoshinori Sato 2020-04-15 65 {
8bd55b5fce8011 Yoshinori Sato 2020-04-15 @66 int bit;
8bd55b5fce8011 Yoshinori Sato 2020-04-15 67 int irq = data->irq - 12;
8bd55b5fce8011 Yoshinori Sato 2020-04-15 68
8bd55b5fce8011 Yoshinori Sato 2020-04-15 69 if (irq < 6)
8bd55b5fce8011 Yoshinori Sato 2020-04-15 70 ctrl_bclr(irq, ISR);
8a7644821ae00b Yoshinori Sato 2015-05-10 71 }
8a7644821ae00b Yoshinori Sato 2015-05-10 72
:::::: The code at line 66 was first introduced by commit
:::::: 8bd55b5fce8011d0026f7d233f7b45788f01ad0c irq-renesas-h8300h: Fix external interrupt contorol.
:::::: TO: Yoshinori Sato <ysato@users.sourceforge.jp>
:::::: CC: Yoshinori Sato <ysato@users.sourceforge.jp>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30072 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-11 16:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-11 16:44 [linux-next:master 12218/12292] drivers/irqchip/irq-renesas-h8300h.c:66:13: error: unused variable 'bit' 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