tree: https://github.com/openrisc/linux.git for-next head: 8739418cb5695d9f2c137527b7e12de74be4ce38 commit: 77325b45cea56277399fdbbf4a3d92e88158cb3e [7/12] openrisc: io: Fixup defines and move include to the end config: openrisc-randconfig-r014-20200804 (attached as .config) compiler: or1k-linux-gcc (GCC) 9.3.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 git checkout 77325b45cea56277399fdbbf4a3d92e88158cb3e # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=openrisc If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from drivers/input/joydev.c:11: >> arch/openrisc/include/asm/io.h:29:23: error: unknown type name 'phys_addr_t' 29 | void __iomem *ioremap(phys_addr_t offset, unsigned long size); | ^~~~~~~~~~~ vim +/phys_addr_t +29 arch/openrisc/include/asm/io.h 58e0166a4772aa Jonas Bonn 2011-06-04 27 77325b45cea562 Stafford Horne 2020-08-04 28 #define ioremap ioremap f3b17320db25b4 Christoph Hellwig 2019-08-17 @29 void __iomem *ioremap(phys_addr_t offset, unsigned long size); 77325b45cea562 Stafford Horne 2020-08-04 30 :::::: The code at line 29 was first introduced by commit :::::: f3b17320db25b4cdd50f0396b096644455357dac openrisc: map as uncached in ioremap :::::: TO: Christoph Hellwig :::::: CC: Stafford Horne --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org