* [mark:arm64/alternatives/rework 10/12] arch/arm64/kernel/alternative.c:269:14: warning: no previous prototype for function 'patch_apply_nops'
@ 2022-08-23 2:27 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-08-23 2:27 UTC (permalink / raw)
To: Mark Rutland; +Cc: llvm, kbuild-all, linux-kernel
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-buildonly-randconfig-r005-20220822 (https://download.01.org/0day-ci/archive/20220823/202208231008.mwF7HrQy-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project abce7acebd4c06c977bc4bd79170697f1122bc5e)
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=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=clang 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@intel.com>
All warnings (new ones prefixed by >>):
>> arch/arm64/kernel/alternative.c:269:14: warning: no previous prototype for function 'patch_apply_nops' [-Wmissing-prototypes]
noinstr void patch_apply_nops(struct alt_instr *alt,
^
arch/arm64/kernel/alternative.c:269:9: note: declare 'static' if the function is not intended to be used outside of this translation unit
noinstr void patch_apply_nops(struct alt_instr *alt,
^
static
1 warning generated.
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-23 2:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-23 2:27 [mark:arm64/alternatives/rework 10/12] arch/arm64/kernel/alternative.c:269:14: warning: no previous prototype for function 'patch_apply_nops' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®