lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 1 Feb 2018 13:26:37 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     Thomas Gleixner <tglx@...utronix.de>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org, tipbuild@...or.com
Subject: [tip:irq/urgent 2/2] kernel/irq/chip.c:300:3: warning: 'return' with
 no value, in function returning non-void

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 <tglx@...utronix.de>
:::::: CC: Thomas Gleixner <tglx@...utronix.de>

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

Download attachment ".config.gz" of type "application/gzip" (12278 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ