tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/urgent
head:   55595980acc3232b018ba30df8ee6e0ac40ad184
commit: 55595980acc3232b018ba30df8ee6e0ac40ad184 [2/2] genirq: Make legacy 
autoprobing work again
config: m68k-sun3_defconfig (attached as .config)
compiler: m68k-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 55595980acc3232b018ba30df8ee6e0ac40ad184
        # save the attached .config to linux build tree
        make.cross ARCH=m68k 

All warnings (new ones prefixed by >>):

   kernel/irq/chip.c: In function 'irq_activate_and_startup':
>> kernel/irq/chip.c:300:3: warning: 'return' with no value, in function 
>> returning non-void [-Wreturn-type]
      return;
      ^~~~~~
   kernel/irq/chip.c:297:5: note: declared here
    int irq_activate_and_startup(struct irq_desc *desc, bool resend)
        ^~~~~~~~~~~~~~~~~~~~~~~~

vim +/return +300 kernel/irq/chip.c

c942cee4 Thomas Gleixner 2017-09-13  296  
55595980 Thomas Gleixner 2018-01-30  297  int irq_activate_and_startup(struct 
irq_desc *desc, bool resend)
c942cee4 Thomas Gleixner 2017-09-13  298  {
c942cee4 Thomas Gleixner 2017-09-13  299        if (WARN_ON(irq_activate(desc)))
c942cee4 Thomas Gleixner 2017-09-13 @300                return;
55595980 Thomas Gleixner 2018-01-30  301        return irq_startup(desc, 
resend, IRQ_START_FORCE);
c942cee4 Thomas Gleixner 2017-09-13  302  }
c942cee4 Thomas Gleixner 2017-09-13  303  

:::::: The code at line 300 was first introduced by commit
:::::: c942cee46bba761ce97ee6d4fc71892e064e8628 genirq: Separate activation and 
startup

:::::: TO: Thomas Gleixner <t...@linutronix.de>
:::::: CC: Thomas Gleixner <t...@linutronix.de>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

Reply via email to