[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202203302330.5gG68JEu-lkp@intel.com>
Date: Wed, 30 Mar 2022 23:33:01 +0800
From: kernel test robot <lkp@...el.com>
To: Catalin Marinas <catalin.marinas@....com>
Cc: 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
'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-s032-20220330 (https://download.01.org/0day-ci/archive/20220330/202203302330.5gG68JEu-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-dirty
# 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=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' 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 'arch_kmalloc_minalign' [-Wmissing-prototypes]
101 | unsigned int arch_kmalloc_minalign(void)
| ^~~~~~~~~~~~~~~~~~~~~
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