From: kernel test robot <lkp@intel.com>
To: Mark Rutland <mark.rutland@arm.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [mark:arm64/alternatives/rework 8/9] arch/arm64/kernel/alternative.c:267:14: warning: no previous prototype for function 'alt_cb_patch_nops'
Date: Wed, 7 Sep 2022 00:26:33 +0800 [thread overview]
Message-ID: <202209070048.vOezJs1e-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git arm64/alternatives/rework
head: 2d5c57125128db8b4934846ad39b00f79cd1637d
commit: 1121255e431de4b5c9a295d6fb6adac10e708534 [8/9] arm64: alternatives: add shared NOP callback
config: arm64-randconfig-r031-20220906 (https://download.01.org/0day-ci/archive/20220907/202209070048.vOezJs1e-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project c55b41d5199d2394dd6cdb8f52180d8b81d809d4)
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=1121255e431de4b5c9a295d6fb6adac10e708534
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 1121255e431de4b5c9a295d6fb6adac10e708534
# 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:267:14: warning: no previous prototype for function 'alt_cb_patch_nops' [-Wmissing-prototypes]
noinstr void alt_cb_patch_nops(struct alt_instr *alt, __le32 *origptr,
^
arch/arm64/kernel/alternative.c:267:9: note: declare 'static' if the function is not intended to be used outside of this translation unit
noinstr void alt_cb_patch_nops(struct alt_instr *alt, __le32 *origptr,
^
static
1 warning generated.
vim +/alt_cb_patch_nops +267 arch/arm64/kernel/alternative.c
266
> 267 noinstr void alt_cb_patch_nops(struct alt_instr *alt, __le32 *origptr,
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-09-06 16:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202209070048.vOezJs1e-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=mark.rutland@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).