[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202004251709.gbjA8P3l%lkp@intel.com>
Date: Sat, 25 Apr 2020 17:43:14 +0800
From: kbuild test robot <lkp@...el.com>
To: Vinod Koul <vkoul@...nel.org>,
Mathias Nyman <mathias.nyman@...el.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: kbuild-all@...ts.01.org, linux-arm-msm@...r.kernel.org,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Christian Lamparter <chunkeey@...glemail.com>,
Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>,
John Stultz <john.stultz@...aro.org>,
Alan Stern <stern@...land.harvard.edu>,
Andreas Böhler <dev@...ehler.at>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v9 2/5] usb: renesas-xhci: Add the renesas xhci driver
Hi Vinod,
I love your patch! Yet something to improve:
[auto build test ERROR on usb/usb-testing]
[also build test ERROR on v5.7-rc2 next-20200424]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Vinod-Koul/usb-xhci-Add-support-for-Renesas-USB-controllers/20200415-044339
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
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
# 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@...el.com>
All errors (new 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,
from arch/ia64/include/asm/io.h:23,
from arch/ia64/include/asm/smp.h:21,
from include/linux/smp.h:67,
from include/linux/percpu.h:7,
from include/linux/arch_topology.h:9,
from include/linux/topology.h:30,
from include/linux/gfp.h:9,
from include/linux/xarray.h:14,
from include/linux/radix-tree.h:18,
from include/linux/idr.h:15,
from include/linux/kernfs.h:13,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from drivers/usb/host/xhci-pci-renesas.c:4:
include/linux/unaligned/le_struct.h:7:19: note: previous definition of 'get_unaligned_le16' was here
7 | static inline u16 get_unaligned_le16(const void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from drivers/usb/host/xhci-pci-renesas.c:9:
>> include/linux/unaligned/access_ok.h:13:28: error: redefinition of 'get_unaligned_le32'
13 | static __always_inline u32 get_unaligned_le32(const void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from arch/ia64/include/asm/unaligned.h:5,
from arch/ia64/include/asm/io.h:23,
from arch/ia64/include/asm/smp.h:21,
from include/linux/smp.h:67,
from include/linux/percpu.h:7,
from include/linux/arch_topology.h:9,
from include/linux/topology.h:30,
from include/linux/gfp.h:9,
from include/linux/xarray.h:14,
from include/linux/radix-tree.h:18,
from include/linux/idr.h:15,
from include/linux/kernfs.h:13,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from drivers/usb/host/xhci-pci-renesas.c:4:
include/linux/unaligned/le_struct.h:12:19: note: previous definition of 'get_unaligned_le32' was here
12 | static inline u32 get_unaligned_le32(const void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from drivers/usb/host/xhci-pci-renesas.c:9:
>> include/linux/unaligned/access_ok.h:18:28: error: redefinition of 'get_unaligned_le64'
18 | static __always_inline u64 get_unaligned_le64(const void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from arch/ia64/include/asm/unaligned.h:5,
from arch/ia64/include/asm/io.h:23,
from arch/ia64/include/asm/smp.h:21,
from include/linux/smp.h:67,
from include/linux/percpu.h:7,
from include/linux/arch_topology.h:9,
from include/linux/topology.h:30,
from include/linux/gfp.h:9,
from include/linux/xarray.h:14,
from include/linux/radix-tree.h:18,
from include/linux/idr.h:15,
from include/linux/kernfs.h:13,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from drivers/usb/host/xhci-pci-renesas.c:4:
include/linux/unaligned/le_struct.h:17:19: note: previous definition of 'get_unaligned_le64' was here
17 | static inline u64 get_unaligned_le64(const void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from drivers/usb/host/xhci-pci-renesas.c:9:
>> include/linux/unaligned/access_ok.h:23:28: error: redefinition of 'get_unaligned_be16'
23 | static __always_inline u16 get_unaligned_be16(const void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from arch/ia64/include/asm/unaligned.h:6,
from arch/ia64/include/asm/io.h:23,
from arch/ia64/include/asm/smp.h:21,
from include/linux/smp.h:67,
from include/linux/percpu.h:7,
from include/linux/arch_topology.h:9,
from include/linux/topology.h:30,
from include/linux/gfp.h:9,
from include/linux/xarray.h:14,
from include/linux/radix-tree.h:18,
from include/linux/idr.h:15,
from include/linux/kernfs.h:13,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from drivers/usb/host/xhci-pci-renesas.c:4:
include/linux/unaligned/be_byteshift.h:41:19: note: previous definition of 'get_unaligned_be16' was here
41 | static inline u16 get_unaligned_be16(const void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from drivers/usb/host/xhci-pci-renesas.c:9:
>> include/linux/unaligned/access_ok.h:28:28: error: redefinition of 'get_unaligned_be32'
28 | static __always_inline u32 get_unaligned_be32(const void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from arch/ia64/include/asm/unaligned.h:6,
from arch/ia64/include/asm/io.h:23,
from arch/ia64/include/asm/smp.h:21,
from include/linux/smp.h:67,
from include/linux/percpu.h:7,
from include/linux/arch_topology.h:9,
from include/linux/topology.h:30,
from include/linux/gfp.h:9,
from include/linux/xarray.h:14,
from include/linux/radix-tree.h:18,
from include/linux/idr.h:15,
from include/linux/kernfs.h:13,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from drivers/usb/host/xhci-pci-renesas.c:4:
include/linux/unaligned/be_byteshift.h:46:19: note: previous definition of 'get_unaligned_be32' was here
46 | static inline u32 get_unaligned_be32(const void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from drivers/usb/host/xhci-pci-renesas.c:9:
>> include/linux/unaligned/access_ok.h:33:28: error: redefinition of 'get_unaligned_be64'
33 | static __always_inline u64 get_unaligned_be64(const void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from arch/ia64/include/asm/unaligned.h:6,
from arch/ia64/include/asm/io.h:23,
from arch/ia64/include/asm/smp.h:21,
from include/linux/smp.h:67,
from include/linux/percpu.h:7,
from include/linux/arch_topology.h:9,
from include/linux/topology.h:30,
from include/linux/gfp.h:9,
from include/linux/xarray.h:14,
from include/linux/radix-tree.h:18,
from include/linux/idr.h:15,
from include/linux/kernfs.h:13,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from drivers/usb/host/xhci-pci-renesas.c:4:
include/linux/unaligned/be_byteshift.h:51:19: note: previous definition of 'get_unaligned_be64' was here
51 | static inline u64 get_unaligned_be64(const void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from drivers/usb/host/xhci-pci-renesas.c:9:
>> include/linux/unaligned/access_ok.h:38:29: error: redefinition of 'put_unaligned_le16'
38 | static __always_inline void put_unaligned_le16(u16 val, void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from arch/ia64/include/asm/unaligned.h:5,
from arch/ia64/include/asm/io.h:23,
from arch/ia64/include/asm/smp.h:21,
from include/linux/smp.h:67,
from include/linux/percpu.h:7,
from include/linux/arch_topology.h:9,
from include/linux/topology.h:30,
from include/linux/gfp.h:9,
from include/linux/xarray.h:14,
from include/linux/radix-tree.h:18,
from include/linux/idr.h:15,
from include/linux/kernfs.h:13,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from drivers/usb/host/xhci-pci-renesas.c:4:
include/linux/unaligned/le_struct.h:22:20: note: previous definition of 'put_unaligned_le16' was here
22 | static inline void put_unaligned_le16(u16 val, void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from drivers/usb/host/xhci-pci-renesas.c:9:
>> include/linux/unaligned/access_ok.h:43:29: error: redefinition of 'put_unaligned_le32'
43 | static __always_inline void put_unaligned_le32(u32 val, void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from arch/ia64/include/asm/unaligned.h:5,
from arch/ia64/include/asm/io.h:23,
from arch/ia64/include/asm/smp.h:21,
from include/linux/smp.h:67,
from include/linux/percpu.h:7,
from include/linux/arch_topology.h:9,
from include/linux/topology.h:30,
from include/linux/gfp.h:9,
from include/linux/xarray.h:14,
from include/linux/radix-tree.h:18,
from include/linux/idr.h:15,
from include/linux/kernfs.h:13,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from drivers/usb/host/xhci-pci-renesas.c:4:
include/linux/unaligned/le_struct.h:27:20: note: previous definition of 'put_unaligned_le32' was here
27 | static inline void put_unaligned_le32(u32 val, void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from drivers/usb/host/xhci-pci-renesas.c:9:
>> include/linux/unaligned/access_ok.h:48:29: error: redefinition of 'put_unaligned_le64'
48 | static __always_inline void put_unaligned_le64(u64 val, void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from arch/ia64/include/asm/unaligned.h:5,
from arch/ia64/include/asm/io.h:23,
from arch/ia64/include/asm/smp.h:21,
from include/linux/smp.h:67,
from include/linux/percpu.h:7,
from include/linux/arch_topology.h:9,
from include/linux/topology.h:30,
from include/linux/gfp.h:9,
from include/linux/xarray.h:14,
from include/linux/radix-tree.h:18,
from include/linux/idr.h:15,
from include/linux/kernfs.h:13,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from drivers/usb/host/xhci-pci-renesas.c:4:
include/linux/unaligned/le_struct.h:32:20: note: previous definition of 'put_unaligned_le64' was here
32 | static inline void put_unaligned_le64(u64 val, void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from drivers/usb/host/xhci-pci-renesas.c:9:
>> include/linux/unaligned/access_ok.h:53:29: error: redefinition of 'put_unaligned_be16'
53 | static __always_inline void put_unaligned_be16(u16 val, void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from arch/ia64/include/asm/unaligned.h:6,
from arch/ia64/include/asm/io.h:23,
from arch/ia64/include/asm/smp.h:21,
from include/linux/smp.h:67,
from include/linux/percpu.h:7,
from include/linux/arch_topology.h:9,
from include/linux/topology.h:30,
from include/linux/gfp.h:9,
from include/linux/xarray.h:14,
from include/linux/radix-tree.h:18,
from include/linux/idr.h:15,
from include/linux/kernfs.h:13,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from drivers/usb/host/xhci-pci-renesas.c:4:
include/linux/unaligned/be_byteshift.h:56:20: note: previous definition of 'put_unaligned_be16' was here
56 | static inline void put_unaligned_be16(u16 val, void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from drivers/usb/host/xhci-pci-renesas.c:9:
>> include/linux/unaligned/access_ok.h:58:29: error: redefinition of 'put_unaligned_be32'
58 | static __always_inline void put_unaligned_be32(u32 val, void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from arch/ia64/include/asm/unaligned.h:6,
from arch/ia64/include/asm/io.h:23,
from arch/ia64/include/asm/smp.h:21,
from include/linux/smp.h:67,
from include/linux/percpu.h:7,
from include/linux/arch_topology.h:9,
from include/linux/topology.h:30,
from include/linux/gfp.h:9,
from include/linux/xarray.h:14,
from include/linux/radix-tree.h:18,
from include/linux/idr.h:15,
from include/linux/kernfs.h:13,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from drivers/usb/host/xhci-pci-renesas.c:4:
include/linux/unaligned/be_byteshift.h:61:20: note: previous definition of 'put_unaligned_be32' was here
61 | static inline void put_unaligned_be32(u32 val, void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from drivers/usb/host/xhci-pci-renesas.c:9:
>> include/linux/unaligned/access_ok.h:63:29: error: redefinition of 'put_unaligned_be64'
63 | static __always_inline void put_unaligned_be64(u64 val, void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from arch/ia64/include/asm/unaligned.h:6,
from arch/ia64/include/asm/io.h:23,
from arch/ia64/include/asm/smp.h:21,
from include/linux/smp.h:67,
from include/linux/percpu.h:7,
from include/linux/arch_topology.h:9,
from include/linux/topology.h:30,
from include/linux/gfp.h:9,
from include/linux/xarray.h:14,
from include/linux/radix-tree.h:18,
from include/linux/idr.h:15,
from include/linux/kernfs.h:13,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from drivers/usb/host/xhci-pci-renesas.c:4:
include/linux/unaligned/be_byteshift.h:66:20: note: previous definition of 'put_unaligned_be64' was here
66 | static inline void put_unaligned_be64(u64 val, void *p)
| ^~~~~~~~~~~~~~~~~~
vim +/get_unaligned_le16 +8 include/linux/unaligned/access_ok.h
064106a91be5e7 Harvey Harrison 2008-04-29 7
e3bde9568d992c Denys Vlasenko 2016-03-17 @8 static __always_inline u16 get_unaligned_le16(const void *p)
064106a91be5e7 Harvey Harrison 2008-04-29 9 {
064106a91be5e7 Harvey Harrison 2008-04-29 10 return le16_to_cpup((__le16 *)p);
064106a91be5e7 Harvey Harrison 2008-04-29 11 }
064106a91be5e7 Harvey Harrison 2008-04-29 12
e3bde9568d992c Denys Vlasenko 2016-03-17 @13 static __always_inline u32 get_unaligned_le32(const void *p)
064106a91be5e7 Harvey Harrison 2008-04-29 14 {
064106a91be5e7 Harvey Harrison 2008-04-29 15 return le32_to_cpup((__le32 *)p);
064106a91be5e7 Harvey Harrison 2008-04-29 16 }
064106a91be5e7 Harvey Harrison 2008-04-29 17
e3bde9568d992c Denys Vlasenko 2016-03-17 @18 static __always_inline u64 get_unaligned_le64(const void *p)
064106a91be5e7 Harvey Harrison 2008-04-29 19 {
064106a91be5e7 Harvey Harrison 2008-04-29 20 return le64_to_cpup((__le64 *)p);
064106a91be5e7 Harvey Harrison 2008-04-29 21 }
064106a91be5e7 Harvey Harrison 2008-04-29 22
e3bde9568d992c Denys Vlasenko 2016-03-17 @23 static __always_inline u16 get_unaligned_be16(const void *p)
064106a91be5e7 Harvey Harrison 2008-04-29 24 {
064106a91be5e7 Harvey Harrison 2008-04-29 25 return be16_to_cpup((__be16 *)p);
064106a91be5e7 Harvey Harrison 2008-04-29 26 }
064106a91be5e7 Harvey Harrison 2008-04-29 27
e3bde9568d992c Denys Vlasenko 2016-03-17 @28 static __always_inline u32 get_unaligned_be32(const void *p)
064106a91be5e7 Harvey Harrison 2008-04-29 29 {
064106a91be5e7 Harvey Harrison 2008-04-29 30 return be32_to_cpup((__be32 *)p);
064106a91be5e7 Harvey Harrison 2008-04-29 31 }
064106a91be5e7 Harvey Harrison 2008-04-29 32
e3bde9568d992c Denys Vlasenko 2016-03-17 @33 static __always_inline u64 get_unaligned_be64(const void *p)
064106a91be5e7 Harvey Harrison 2008-04-29 34 {
064106a91be5e7 Harvey Harrison 2008-04-29 35 return be64_to_cpup((__be64 *)p);
064106a91be5e7 Harvey Harrison 2008-04-29 36 }
064106a91be5e7 Harvey Harrison 2008-04-29 37
e3bde9568d992c Denys Vlasenko 2016-03-17 @38 static __always_inline void put_unaligned_le16(u16 val, void *p)
064106a91be5e7 Harvey Harrison 2008-04-29 39 {
064106a91be5e7 Harvey Harrison 2008-04-29 40 *((__le16 *)p) = cpu_to_le16(val);
064106a91be5e7 Harvey Harrison 2008-04-29 41 }
064106a91be5e7 Harvey Harrison 2008-04-29 42
e3bde9568d992c Denys Vlasenko 2016-03-17 @43 static __always_inline void put_unaligned_le32(u32 val, void *p)
064106a91be5e7 Harvey Harrison 2008-04-29 44 {
064106a91be5e7 Harvey Harrison 2008-04-29 45 *((__le32 *)p) = cpu_to_le32(val);
064106a91be5e7 Harvey Harrison 2008-04-29 46 }
064106a91be5e7 Harvey Harrison 2008-04-29 47
e3bde9568d992c Denys Vlasenko 2016-03-17 @48 static __always_inline void put_unaligned_le64(u64 val, void *p)
064106a91be5e7 Harvey Harrison 2008-04-29 49 {
064106a91be5e7 Harvey Harrison 2008-04-29 50 *((__le64 *)p) = cpu_to_le64(val);
064106a91be5e7 Harvey Harrison 2008-04-29 51 }
064106a91be5e7 Harvey Harrison 2008-04-29 52
e3bde9568d992c Denys Vlasenko 2016-03-17 @53 static __always_inline void put_unaligned_be16(u16 val, void *p)
064106a91be5e7 Harvey Harrison 2008-04-29 54 {
064106a91be5e7 Harvey Harrison 2008-04-29 55 *((__be16 *)p) = cpu_to_be16(val);
064106a91be5e7 Harvey Harrison 2008-04-29 56 }
064106a91be5e7 Harvey Harrison 2008-04-29 57
e3bde9568d992c Denys Vlasenko 2016-03-17 @58 static __always_inline void put_unaligned_be32(u32 val, void *p)
064106a91be5e7 Harvey Harrison 2008-04-29 59 {
064106a91be5e7 Harvey Harrison 2008-04-29 60 *((__be32 *)p) = cpu_to_be32(val);
064106a91be5e7 Harvey Harrison 2008-04-29 61 }
064106a91be5e7 Harvey Harrison 2008-04-29 62
e3bde9568d992c Denys Vlasenko 2016-03-17 @63 static __always_inline void put_unaligned_be64(u64 val, void *p)
064106a91be5e7 Harvey Harrison 2008-04-29 64 {
064106a91be5e7 Harvey Harrison 2008-04-29 65 *((__be64 *)p) = cpu_to_be64(val);
064106a91be5e7 Harvey Harrison 2008-04-29 66 }
064106a91be5e7 Harvey Harrison 2008-04-29 67
:::::: The code at line 8 was first introduced by commit
:::::: e3bde9568d992c5f985e6e30731a5f9f9bef7b13 include/linux/unaligned: force inlining of byteswap operations
:::::: TO: Denys Vlasenko <dvlasenk@...hat.com>
:::::: CC: Linus Torvalds <torvalds@...ux-foundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (56806 bytes)
Powered by blists - more mailing lists