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:   Sat, 8 May 2021 10:01:40 +0800
From:   kernel test robot <lkp@...el.com>
To:     Robert Hancock <robert.hancock@...ian.com>
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        linux-kernel@...r.kernel.org, Marc Zyngier <maz@...nel.org>
Subject: drivers/irqchip/irq-xilinx-intc.c:127:14: warning: no previous
 prototype for function 'xintc_get_irq'

Hi Robert,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   dd860052c99b1e088352bdd4fb7aef46f8d2ef47
commit: debf69cfd4c618c7036a13cc4edd1faf87ce7d53 irqchip/xilinx: Expose Kconfig option for Zynq/ZynqMP
date:   2 weeks ago
config: arm64-randconfig-r001-20210508 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a3a8a1a15b524d91b5308db68e9d293b34cd88dd)
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
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=debf69cfd4c618c7036a13cc4edd1faf87ce7d53
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout debf69cfd4c618c7036a13cc4edd1faf87ce7d53
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

>> drivers/irqchip/irq-xilinx-intc.c:127:14: warning: no previous prototype for function 'xintc_get_irq' [-Wmissing-prototypes]
   unsigned int xintc_get_irq(void)
                ^
   drivers/irqchip/irq-xilinx-intc.c:127:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   unsigned int xintc_get_irq(void)
   ^
   static 
   1 warning generated.


vim +/xintc_get_irq +127 drivers/irqchip/irq-xilinx-intc.c

67862a3c47fcfc Mubin Sayyed 2020-03-17  126  
4cea749d56bec9 Marc Zyngier 2020-03-30 @127  unsigned int xintc_get_irq(void)
4cea749d56bec9 Marc Zyngier 2020-03-30  128  {
4cea749d56bec9 Marc Zyngier 2020-03-30  129  	unsigned int irq = -1;
4cea749d56bec9 Marc Zyngier 2020-03-30  130  	u32 hwirq;
4cea749d56bec9 Marc Zyngier 2020-03-30  131  
4cea749d56bec9 Marc Zyngier 2020-03-30  132  	hwirq = xintc_read(primary_intc, IVR);
4cea749d56bec9 Marc Zyngier 2020-03-30  133  	if (hwirq != -1U)
4cea749d56bec9 Marc Zyngier 2020-03-30  134  		irq = irq_find_mapping(primary_intc->root_domain, hwirq);
4cea749d56bec9 Marc Zyngier 2020-03-30  135  
4cea749d56bec9 Marc Zyngier 2020-03-30  136  	pr_debug("irq-xilinx: hwirq=%d, irq=%d\n", hwirq, irq);
4cea749d56bec9 Marc Zyngier 2020-03-30  137  
4cea749d56bec9 Marc Zyngier 2020-03-30  138  	return irq;
4cea749d56bec9 Marc Zyngier 2020-03-30  139  }
4cea749d56bec9 Marc Zyngier 2020-03-30  140  

:::::: The code at line 127 was first introduced by commit
:::::: 4cea749d56bec9409f3bd126d2b2f949dc6c66e2 Revert "irqchip/xilinx: Enable generic irq multi handler"

:::::: TO: Marc Zyngier <maz@...nel.org>
:::::: CC: Marc Zyngier <maz@...nel.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ