From: kernel test robot <lkp@intel.com>
To: Catalin Marinas <catalin.marinas@arm.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
GNU/Weeb Mailing List <gwml@vger.gnuweeb.org>,
linux-kernel@vger.kernel.org
Subject: [ammarfaizi2-block:arm64/linux/devel/kmalloc-minalign 10/11] arch/arm64/kernel/cacheinfo.c:101:14: warning: no previous prototype for function 'arch_kmalloc_minalign'
Date: Wed, 30 Mar 2022 22:11:24 +0800 [thread overview]
Message-ID: <202203302215.5KhCA08Y-lkp@intel.com> (raw)
tree: https://github.com/ammarfaizi2/linux-block arm64/linux/devel/kmalloc-minalign
head: 2810d5be00a60d5996cd955c2485c17ef1e1e7af
commit: 6c3838f40cf6a9b31bbb3d78059a81ca03fb2cfc [10/11] arm64: Enable dynamic kmalloc() minimum alignment
config: arm64-randconfig-r005-20220330 (https://download.01.org/0day-ci/archive/20220330/202203302215.5KhCA08Y-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0f6d9501cf49ce02937099350d08f20c4af86f3d)
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://github.com/ammarfaizi2/linux-block/commit/6c3838f40cf6a9b31bbb3d78059a81ca03fb2cfc
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block arm64/linux/devel/kmalloc-minalign
git checkout 6c3838f40cf6a9b31bbb3d78059a81ca03fb2cfc
# save the config file to linux build tree
mkdir build_dir
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 as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> arch/arm64/kernel/cacheinfo.c:101:14: warning: no previous prototype for function 'arch_kmalloc_minalign' [-Wmissing-prototypes]
unsigned int arch_kmalloc_minalign(void)
^
arch/arm64/kernel/cacheinfo.c:101:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
unsigned int arch_kmalloc_minalign(void)
^
static
1 warning generated.
vim +/arch_kmalloc_minalign +101 arch/arm64/kernel/cacheinfo.c
100
> 101 unsigned int arch_kmalloc_minalign(void)
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-03-30 14:12 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=202203302215.5KhCA08Y-lkp@intel.com \
--to=lkp@intel.com \
--cc=catalin.marinas@arm.com \
--cc=gwml@vger.gnuweeb.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
/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
all inboxes | Powered by JetHome®