All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stafford Horne <shorne@gmail.com>
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	[thread overview]
Message-ID: <20200804211327.GN80756@lianli.shorne-pla.net> (raw)
In-Reply-To: <202008042044.OtZ3n8ly%lkp@intel.com>

[-- 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


      reply	other threads:[~2020-08-04 21:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200804211327.GN80756@lianli.shorne-pla.net \
    --to=shorne@gmail.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.