Messages in this thread | | | Date | Fri, 1 Oct 2021 18:17:07 +0800 | From | kernel test robot <> | Subject | [sbates130272-p2pmem:p2pdma_user_cmb_v4 19/24] lib/scatterlist.c:417:14: error: implicit declaration of function 'zone_device_pages_are_mergeable'; did you mean 'zone_device_pages_are_mergable'? |
| |
tree: https://github.com/sbates130272/linux-p2pmem.git p2pdma_user_cmb_v4 head: fafffd8dc69edfad4ffca8e67bd6520f3a1a004f commit: 6b808aa3a2e1b9d8d822db34fda24c4505add09b [19/24] lib/scatterlist: add check when merging zone device pages config: arc-randconfig-r043-20211001 (attached as .config) compiler: arceb-elf-gcc (GCC) 11.2.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://github.com/sbates130272/linux-p2pmem/commit/6b808aa3a2e1b9d8d822db34fda24c4505add09b git remote add sbates130272-p2pmem https://github.com/sbates130272/linux-p2pmem.git git fetch --no-tags sbates130272-p2pmem p2pdma_user_cmb_v4 git checkout 6b808aa3a2e1b9d8d822db34fda24c4505add09b # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
lib/scatterlist.c: In function 'pages_are_mergeable': >> lib/scatterlist.c:417:14: error: implicit declaration of function 'zone_device_pages_are_mergeable'; did you mean 'zone_device_pages_are_mergable'? [-Werror=implicit-function-declaration] 417 | if (!zone_device_pages_are_mergeable(a, b)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | zone_device_pages_are_mergable cc1: some warnings being treated as errors
vim +417 lib/scatterlist.c
412 413 static bool pages_are_mergeable(struct page *a, struct page *b) 414 { 415 if (page_to_pfn(a) != page_to_pfn(b) + 1) 416 return false; > 417 if (!zone_device_pages_are_mergeable(a, b)) 418 return false; 419 return true; 420 } 421
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [unhandled content-type:application/gzip] | |