Messages in this thread | | | Date | Thu, 1 Jun 2023 00:45:56 +0800 | From | kernel test robot <> | Subject | Re: [PATCH] locking/rwsem: Optionally re-enable reader optimistic spinning |
| |
Hi Bongkyu,
kernel test robot noticed the following build errors:
[auto build test ERROR on tip/locking/core] [also build test ERROR on linus/master v6.4-rc4 next-20230531] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Bongkyu-Kim/locking-rwsem-Optionally-re-enable-reader-optimistic-spinning/20230531-083658 base: tip/locking/core patch link: https://lore.kernel.org/r/20230531003436.7082-1-bongkyu7.kim%40samsung.com patch subject: [PATCH] locking/rwsem: Optionally re-enable reader optimistic spinning config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20230601/202306010043.VJHcuCnb-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 12.3.0 reproduce (this is a W=1 build): mkdir -p ~/bin wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/8c4098eb89be5b82aded3d17b22f78013454d058 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Bongkyu-Kim/locking-rwsem-Optionally-re-enable-reader-optimistic-spinning/20230531-083658 git checkout 8c4098eb89be5b82aded3d17b22f78013454d058 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=m68k olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash kernel/locking/
If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202306010043.VJHcuCnb-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
>> kernel/locking/rwsem.c:1097:20: error: function declaration isn't a prototype [-Werror=strict-prototypes] 1097 | static inline bool rwsem_no_spinners(sem) | ^~~~~~~~~~~~~~~~~ kernel/locking/rwsem.c: In function 'rwsem_no_spinners': >> kernel/locking/rwsem.c:1097:20: warning: old-style function definition [-Wold-style-definition] >> kernel/locking/rwsem.c:1097:20: error: type of 'sem' defaults to 'int' [-Werror=implicit-int] cc1: some warnings being treated as errors
vim +1097 kernel/locking/rwsem.c
1096 > 1097 static inline bool rwsem_no_spinners(sem) 1098 { 1099 return false; 1100 } 1101
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
| |