Hi Dan, FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant. tree: https://git.kernel.org/pub/scm/linux/kernel/git/djbw/nvdimm.git libnvdimm-pending head: 911d658201acc386472f976e5fd2d48b9e45fdce commit: 13b7b0af2665d99f48a1888edb2636a222523f04 [14/20] devdax: Move address_space helpers to the DAX core config: m68k-allnoconfig compiler: m68k-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/djbw/nvdimm.git/commit/?id=13b7b0af2665d99f48a1888edb2636a222523f04 git remote add djbw-nvdimm https://git.kernel.org/pub/scm/linux/kernel/git/djbw/nvdimm.git git fetch --no-tags djbw-nvdimm libnvdimm-pending git checkout 13b7b0af2665d99f48a1888edb2636a222523f04 # 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=m68k SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from mm/readahead.c:118: include/linux/dax.h: In function 'pe_order': >> include/linux/dax.h:330:24: error: 'PMD_SHIFT' undeclared (first use in this function); did you mean 'PUD_SHIFT'? 330 | return PMD_SHIFT - PAGE_SHIFT; | ^~~~~~~~~ | PUD_SHIFT include/linux/dax.h:330:24: note: each undeclared identifier is reported only once for each function it appears in In file included from include/asm-generic/pgtable-nopud.h:7, from arch/m68k/include/asm/pgtable_no.h:5, from arch/m68k/include/asm/pgtable.h:3, from include/linux/pgtable.h:6, from include/linux/mm.h:29, from arch/m68k/include/asm/cacheflush_no.h:8, from arch/m68k/include/asm/cacheflush.h:3, from include/linux/cacheflush.h:5, from include/linux/highmem.h:8, from include/linux/bvec.h:10, from include/linux/blk_types.h:10, from include/linux/blkdev.h:9, from mm/readahead.c:116: >> include/asm-generic/pgtable-nop4d.h:11:33: error: 'PGDIR_SHIFT' undeclared (first use in this function); did you mean 'PUD_SHIFT'? 11 | #define P4D_SHIFT PGDIR_SHIFT | ^~~~~~~~~~~ include/asm-generic/pgtable-nopud.h:18:25: note: in expansion of macro 'P4D_SHIFT' 18 | #define PUD_SHIFT P4D_SHIFT | ^~~~~~~~~ include/linux/dax.h:332:24: note: in expansion of macro 'PUD_SHIFT' 332 | return PUD_SHIFT - PAGE_SHIFT; | ^~~~~~~~~ vim +330 include/linux/dax.h 324 325 static inline unsigned int pe_order(enum page_entry_size pe_size) 326 { 327 if (pe_size == PE_SIZE_PTE) 328 return PAGE_SHIFT - PAGE_SHIFT; 329 if (pe_size == PE_SIZE_PMD) > 330 return PMD_SHIFT - PAGE_SHIFT; 331 if (pe_size == PE_SIZE_PUD) 332 return PUD_SHIFT - PAGE_SHIFT; 333 return ~0; 334 } 335 -- 0-DAY CI Kernel Test Service https://01.org/lkp