[mark:arm64/alternatives/rework 10/12] arch/arm64/kernel/alternative.c:269:14: warning: no previous prototype for 'patch_apply_nops'
From: kernel test robot
Date: Mon Aug 22 2022 - 20:46:25 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git arm64/alternatives/rework
head: c6f1e900bb0e1c5932f9995feaf4acb70cf6f62e
commit: f1665fd81160e18d4c71f4edcfd25c41e248fb67 [10/12] HACK: nops
config: arm64-randconfig-r034-20220821 (https://download.01.org/0day-ci/archive/20220823/202208230839.mq5IC59A-lkp@xxxxxxxxx/config)
compiler: aarch64-linux-gcc (GCC) 12.1.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/mark/linux.git/commit/?id=f1665fd81160e18d4c71f4edcfd25c41e248fb67
git remote add mark https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
git fetch --no-tags mark arm64/alternatives/rework
git checkout f1665fd81160e18d4c71f4edcfd25c41e248fb67
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kernel/ drivers/firmware/efi/libstub/ drivers/net/ethernet/realtek/
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/alternative.c:269:14: warning: no previous prototype for 'patch_apply_nops' [-Wmissing-prototypes]
269 | noinstr void patch_apply_nops(struct alt_instr *alt,
| ^~~~~~~~~~~~~~~~
vim +/patch_apply_nops +269 arch/arm64/kernel/alternative.c
268
> 269 noinstr void patch_apply_nops(struct alt_instr *alt,
--
0-DAY CI Kernel Test Service
https://01.org/lkp