[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202203302215.5KhCA08Y-lkp@intel.com>
Date: Wed, 30 Mar 2022 22:11:24 +0800
From: kernel test robot <lkp@...el.com>
To: Catalin Marinas <catalin.marinas@....com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
GNU/Weeb Mailing List <gwml@...r.gnuweeb.org>,
linux-kernel@...r.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'
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@...el.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
Powered by blists - more mailing lists