tree: https://github.com/ammarfaizi2/linux-block stable/linux-stable-rc/queue/6.1 head: dc8fa5c0b6899cecb310a2880d3acd627a11fe36 commit: 5312309b8b41083deabdec0831f7f5ada0c29046 [61/87] arm64/mm: add pud_user_exec() check in pud_user_accessible_page() config: arm64-randconfig-r032-20230115 compiler: aarch64-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://github.com/ammarfaizi2/linux-block/commit/5312309b8b41083deabdec0831f7f5ada0c29046 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block stable/linux-stable-rc/queue/6.1 git checkout 5312309b8b41083deabdec0831f7f5ada0c29046 # 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=arm64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 prepare 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 include/linux/pgtable.h:6, from include/linux/mm.h:29, from include/linux/pid_namespace.h:7, from include/linux/ptrace.h:10, from include/linux/elfcore.h:11, from include/linux/crash_core.h:6, from include/linux/kexec.h:18, from arch/arm64/kernel/asm-offsets.c:12: arch/arm64/include/asm/pgtable.h: In function 'pud_user_accessible_page': >> arch/arm64/include/asm/pgtable.h:871:51: error: implicit declaration of function 'pud_user_exec'; did you mean 'pmd_user_exec'? [-Werror=implicit-function-declaration] 871 | return pud_leaf(pud) && (pud_user(pud) || pud_user_exec(pud)); | ^~~~~~~~~~~~~ | pmd_user_exec cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:118: arch/arm64/kernel/asm-offsets.s] Error 1 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:1270: prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:231: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +871 arch/arm64/include/asm/pgtable.h 868 869 static inline bool pud_user_accessible_page(pud_t pud) 870 { > 871 return pud_leaf(pud) && (pud_user(pud) || pud_user_exec(pud)); 872 } 873 #endif 874 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests