* [openrisc:for-next 7/12] arch/openrisc/include/asm/io.h:29:23: error: unknown type name 'phys_addr_t'
@ 2020-08-04 12:35 kernel test robot
2020-08-04 21:13 ` Stafford Horne
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-08-04 12:35 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1821 bytes --]
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 <lkp@intel.com>
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 <hch@lst.de>
:::::: CC: Stafford Horne <shorne@gmail.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 26785 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [openrisc:for-next 7/12] arch/openrisc/include/asm/io.h:29:23: error: unknown type name 'phys_addr_t'
2020-08-04 12:35 [openrisc:for-next 7/12] arch/openrisc/include/asm/io.h:29:23: error: unknown type name 'phys_addr_t' kernel test robot
@ 2020-08-04 21:13 ` Stafford Horne
0 siblings, 0 replies; 2+ messages in thread
From: Stafford Horne @ 2020-08-04 21:13 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2113 bytes --]
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: 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 <lkp@intel.com>
>
> 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);
> | ^~~~~~~~~~~
Thanks,
My new patch is missing a <linux/types.h> 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(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 <hch@lst.de>
> :::::: CC: Stafford Horne <shorne@gmail.com>
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-04 21:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-04 12:35 [openrisc:for-next 7/12] arch/openrisc/include/asm/io.h:29:23: error: unknown type name 'phys_addr_t' kernel test robot
2020-08-04 21:13 ` Stafford Horne
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.