Re: [usb:usb-next 56/58] include/linux/unaligned/access_ok.h:8:28: error: redefinition of 'get_unaligned_le16'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, May 16, 2020 at 05:01:16PM +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next
> head:   2478be82de44bee4346eb1f48d4cfa28cd99d2d0
> commit: 8bd5741e3145e40c1e4f422fa5f1b9d7fe0644b3 [56/58] usb: renesas-xhci: Add the renesas xhci driver
> config: ia64-allmodconfig (attached as .config)
> compiler: ia64-linux-gcc (GCC) 9.3.0
> reproduce:
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout 8bd5741e3145e40c1e4f422fa5f1b9d7fe0644b3
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=ia64 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
> 
> All errors (new ones prefixed by >>, old ones prefixed by <<):
> 
> In file included from drivers/usb/host/xhci-pci-renesas.c:9:
> >> include/linux/unaligned/access_ok.h:8:28: error: redefinition of 'get_unaligned_le16'
> 8 | static __always_inline u16 get_unaligned_le16(const void *p)
> |                            ^~~~~~~~~~~~~~~~~~
> In file included from arch/ia64/include/asm/unaligned.h:5,


Vinod, you need to include another .h file for this file to properly
define this function.

Can you make up a patch for that?

thanks,

greg k-h



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux