From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============5296376662639609957==" MIME-Version: 1.0 From: Stafford Horne To: kbuild-all@lists.01.org Subject: Re: [openrisc:for-next 7/12] arch/openrisc/include/asm/io.h:29:23: error: unknown type name 'phys_addr_t' Date: Wed, 05 Aug 2020 06:13:27 +0900 Message-ID: <20200804211327.GN80756@lianli.shorne-pla.net> In-Reply-To: <202008042044.OtZ3n8ly%lkp@intel.com> List-Id: --===============5296376662639609957== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Tue, Aug 04, 2020 at 08:35:57PM +0800, kernel test robot wrote: > tree: https://github.com/openrisc/linux.git for-next > head: 8739418cb5695d9f2c137527b7e12de74be4ce38 > commit: 77325b45cea56277399fdbbf4a3d92e88158cb3e [7/12] openrisc: io: Fix= up 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=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/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=3D$HOME/0day COMPILER=3Dgcc-9.3.0 make.cros= s ARCH=3Dopenrisc = > = > 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_a= ddr_t' > 29 | void __iomem *ioremap(phys_addr_t offset, unsigned long size); > | ^~~~~~~~~~~ Thanks, My new patch is missing a include which works in most cases= but not this case. I'll push the fix soon. -Stafford > 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(ph= ys_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 --===============5296376662639609957==--