Messages in this thread | | | Date | Thu, 22 Sep 2022 01:39:20 +0800 | From | kernel test robot <> | Subject | [djiang:cxl-security 1/19] include/linux/memregion.h:54:9: error: implicit declaration of function 'WARN_ON_ONCE' |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/djiang/linux.git cxl-security head: 3b2ea8468d5dbe2e7b61dcd86cc3aeadfe766d07 commit: d8fab77dd9512ae56e653afddbef9351da206679 [1/19] memregion: Add cpu_cache_invalidate_memregion() interface config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20220922/202209220119.QSB1o664-lkp@intel.com/config) compiler: s390-linux-gcc (GCC) 12.1.0 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 # https://git.kernel.org/pub/scm/linux/kernel/git/djiang/linux.git/commit/?id=d8fab77dd9512ae56e653afddbef9351da206679 git remote add djiang https://git.kernel.org/pub/scm/linux/kernel/git/djiang/linux.git git fetch --no-tags djiang cxl-security git checkout d8fab77dd9512ae56e653afddbef9351da206679 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/cxl/core/region.c:3: include/linux/memregion.h:52:5: warning: no previous prototype for 'cpu_cache_invalidate_memregion' [-Wmissing-prototypes] 52 | int cpu_cache_invalidate_memregion(int res_desc) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/memregion.h: In function 'cpu_cache_invalidate_memregion': >> include/linux/memregion.h:54:9: error: implicit declaration of function 'WARN_ON_ONCE' [-Werror=implicit-function-declaration] 54 | WARN_ON_ONCE("CPU cache invalidation required"); | ^~~~~~~~~~~~ cc1: some warnings being treated as errors
vim +/WARN_ON_ONCE +54 include/linux/memregion.h
51 52 int cpu_cache_invalidate_memregion(int res_desc) 53 { > 54 WARN_ON_ONCE("CPU cache invalidation required");
-- 0-DAY CI Kernel Test Service https://01.org/lkp
| |