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, 8 Jul 2021 08:17:28 +0800
From:   kernel test robot <lkp@...el.com>
To:     Mark Rutland <mark.rutland@....com>
Cc:     clang-built-linux@...glegroups.com, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: [mark-rutland:arm64/entry/further-rework 3/6]
 arch/arm64/kernel/entry-common.c:203:17: warning: no previous prototype for
 function 'prepare_el0t_return_from_fork'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git arm64/entry/further-rework
head:   0b26c84bfdad0505d4c64c47af300e988990cc03
commit: 7384b6c882f5c127950555c9fb64cada519f0ac3 [3/6] arm64: entry: add hooks for entry/exit work
config: arm64-randconfig-r034-20210708 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8d69635ed9ecf36fd0ca85906bfde17949671cbe)
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/mark/linux.git/commit/?id=7384b6c882f5c127950555c9fb64cada519f0ac3
        git remote add mark-rutland https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
        git fetch --no-tags mark-rutland arm64/entry/further-rework
        git checkout 7384b6c882f5c127950555c9fb64cada519f0ac3
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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 >>):

>> arch/arm64/kernel/entry-common.c:203:17: warning: no previous prototype for function 'prepare_el0t_return_from_fork' [-Wmissing-prototypes]
   asmlinkage void prepare_el0t_return_from_fork(struct pt_regs *regs)
                   ^
   arch/arm64/kernel/entry-common.c:203:12: note: declare 'static' if the function is not intended to be used outside of this translation unit
   asmlinkage void prepare_el0t_return_from_fork(struct pt_regs *regs)
              ^
              static 
   1 warning generated.


vim +/prepare_el0t_return_from_fork +203 arch/arm64/kernel/entry-common.c

   202	
 > 203	asmlinkage void prepare_el0t_return_from_fork(struct pt_regs *regs)
   204	{
   205		__prepare_el0t_return(regs);
   206	}
   207	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ