[ardb:arm64-compat-alignment-fixups 2/2] arch/arm64/kernel/compat_alignment.c:391:5: warning: no previous prototype for 'do_compat_alignment_fixup'
From: kernel test robot
Date: Thu Jun 23 2022 - 15:56:59 EST
tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git arm64-compat-alignment-fixups
head: 16de979d9372710aaa42cd93d3af1e9a43d53369
commit: 16de979d9372710aaa42cd93d3af1e9a43d53369 [2/2] arm64: compat: Implement misalignment fixups for multiword loads
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220624/202206240300.IJJqMAVn-lkp@xxxxxxxxx/config)
compiler: aarch64-linux-gcc (GCC) 11.3.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=16de979d9372710aaa42cd93d3af1e9a43d53369
git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
git fetch --no-tags ardb arm64-compat-alignment-fixups
git checkout 16de979d9372710aaa42cd93d3af1e9a43d53369
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kernel/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All warnings (new ones prefixed by >>):
>> arch/arm64/kernel/compat_alignment.c:391:5: warning: no previous prototype for 'do_compat_alignment_fixup' [-Wmissing-prototypes]
391 | int do_compat_alignment_fixup(unsigned long addr, struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
vim +/do_compat_alignment_fixup +391 arch/arm64/kernel/compat_alignment.c
390
> 391 int do_compat_alignment_fixup(unsigned long addr, struct pt_regs *regs)
--
0-DAY CI Kernel Test Service
https://01.org/lkp