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, 21 Oct 2021 00:19:50 +0800
From:   kernel test robot <lkp@...el.com>
To:     Mark Rutland <mark.rutland@....com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: [mark:irq/handle-domain-irq 2/10] kernel/irq/handle.c:235:25:
 warning: no previous prototype for function 'generic_handle_arch_irq'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git irq/handle-domain-irq
head:   d7268e5e46d5c541c1f51e975c860d29237ce849
commit: 3b8792095791a695732846b4bb99eb4dc410d9ec [2/10] irq: add generic_handle_arch_irq()
config: arm-randconfig-r025-20211019 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 9660563950aaed54020bfdf0be07e7096a9553e4)
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 arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/commit/?id=3b8792095791a695732846b4bb99eb4dc410d9ec
        git remote add mark https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
        git fetch --no-tags mark irq/handle-domain-irq
        git checkout 3b8792095791a695732846b4bb99eb4dc410d9ec
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm 

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 >>):

>> kernel/irq/handle.c:235:25: warning: no previous prototype for function 'generic_handle_arch_irq' [-Wmissing-prototypes]
   asmlinkage void noinstr generic_handle_arch_irq(struct pt_regs *regs)
                           ^
   kernel/irq/handle.c:235:12: note: declare 'static' if the function is not intended to be used outside of this translation unit
   asmlinkage void noinstr generic_handle_arch_irq(struct pt_regs *regs)
              ^
              static 
   1 warning generated.


vim +/generic_handle_arch_irq +235 kernel/irq/handle.c

   229	
   230	/**
   231	 * generic_handle_arch_irq - root irq handler for architectures which do no
   232	 *                           entry accounting themselves
   233	 * @regs:	Register file coming from the low-level handling code
   234	 */
 > 235	asmlinkage void noinstr generic_handle_arch_irq(struct pt_regs *regs)

---
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" (34311 bytes)

Powered by blists - more mailing lists