tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git virt-to-pfn-v6.0-rc1 head: 4d7acf8f4433bc283b286b226222d04e3e0de2e1 commit: 4e94a79c0885a2313ad25dfd2de624d1478cd109 [14/24] csky: Make pfn accessors static inlines config: csky-randconfig-r001-20221019 compiler: csky-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/linusw/linux-integrator.git/commit/?id=4e94a79c0885a2313ad25dfd2de624d1478cd109 git remote add arm-integrator https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git git fetch --no-tags arm-integrator virt-to-pfn-v6.0-rc1 git checkout 4e94a79c0885a2313ad25dfd2de624d1478cd109 # 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=csky 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 arch/csky/include/asm/thread_info.h:9, from include/linux/thread_info.h:60, from include/asm-generic/current.h:5, from ./arch/csky/include/generated/asm/current.h:1, from include/linux/sched.h:12, from arch/csky/kernel/asm-offsets.c:4: arch/csky/include/asm/page.h: In function 'pfn_to_virt': >> arch/csky/include/asm/page.h:88:26: error: invalid operands to binary << (have 'void *' and 'int') 88 | return __va(pfn) << PAGE_SHIFT; | ^~ make[2]: *** [scripts/Makefile.build:117: arch/csky/kernel/asm-offsets.s] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1207: prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:222: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +88 arch/csky/include/asm/page.h 85 86 static inline void * pfn_to_virt(unsigned long pfn) 87 { > 88 return __va(pfn) << PAGE_SHIFT; 89 } 90 -- 0-DAY CI Kernel Test Service https://01.org/lkp