Hi Alistair, kernel test robot noticed the following build errors: [auto build test ERROR on 81983758430957d9a5cb3333fe324fd70cf63e7e] url: https://github.com/intel-lab-lkp/linux/commits/Alistair-Popple/fuse-Fix-dax-truncate-punch_hole-fault-path/20241125-094004 base: 81983758430957d9a5cb3333fe324fd70cf63e7e patch link: https://lore.kernel.org/r/f1a93b8a38e14e2ab279ece310175334e973b970.1732239628.git-series.apopple%40nvidia.com patch subject: [PATCH v3 11/25] mm: Allow compound zone device pages config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20241125/202411252342.LUEKRmrY-lkp@xxxxxxxxx/config) compiler: sh4-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241125/202411252342.LUEKRmrY-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202411252342.LUEKRmrY-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): In file included from include/linux/mm.h:32, from arch/sh/kernel/asm-offsets.c:14: include/linux/memremap.h: In function 'is_device_private_page': >> include/linux/memremap.h:164:17: error: implicit declaration of function 'page_pgmap' [-Wimplicit-function-declaration] 164 | page_pgmap(page)->type == MEMORY_DEVICE_PRIVATE; | ^~~~~~~~~~ >> include/linux/memremap.h:164:33: error: invalid type argument of '->' (have 'int') 164 | page_pgmap(page)->type == MEMORY_DEVICE_PRIVATE; | ^~ include/linux/memremap.h: In function 'is_pci_p2pdma_page': include/linux/memremap.h:176:33: error: invalid type argument of '->' (have 'int') 176 | page_pgmap(page)->type == MEMORY_DEVICE_PCI_P2PDMA; | ^~ include/linux/memremap.h: In function 'is_device_coherent_page': include/linux/memremap.h:182:33: error: invalid type argument of '->' (have 'int') 182 | page_pgmap(page)->type == MEMORY_DEVICE_COHERENT; | ^~ make[3]: *** [scripts/Makefile.build:102: arch/sh/kernel/asm-offsets.s] Error 1 make[3]: Target 'prepare' not remade because of errors. make[2]: *** [Makefile:1203: prepare0] Error 2 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:224: __sub-make] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:224: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +/page_pgmap +164 include/linux/memremap.h 159 160 static inline bool is_device_private_page(const struct page *page) 161 { 162 return IS_ENABLED(CONFIG_DEVICE_PRIVATE) && 163 is_zone_device_page(page) && > 164 page_pgmap(page)->type == MEMORY_DEVICE_PRIVATE; 165 } 166 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki