All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-next:master 12218/12292] drivers/irqchip/irq-renesas-h8300h.c:66:13: error: unused variable 'bit'
Date: Sun, 12 Sep 2021 00:44:11 +0800	[thread overview]
Message-ID: <202109120030.1vu3wEls-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2497 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@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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 30072 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: [linux-next:master 12218/12292] drivers/irqchip/irq-renesas-h8300h.c:66:13: error: unused variable 'bit'
Date: Sun, 12 Sep 2021 00:44:11 +0800	[thread overview]
Message-ID: <202109120030.1vu3wEls-lkp@intel.com> (raw)

[-- 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 --]

             reply	other threads:[~2021-09-11 16:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-11 16:44 kernel test robot [this message]
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

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=202109120030.1vu3wEls-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.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 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.