[usb:usb-next 56/58] include/linux/unaligned/access_ok.h:8:28: error: redefinition of 'get_unaligned_le16'
by kbuild test robot
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(a)intel.com>
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,
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
:::::: The code at line 8 was first introduced by commit
:::::: e3bde9568d992c5f985e6e30731a5f9f9bef7b13 include/linux/unaligned: force inlining of byteswap operations
:::::: TO: Denys Vlasenko <dvlasenk(a)redhat.com>
:::::: CC: Linus Torvalds <torvalds(a)linux-foundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
[chrome-os:chromeos-4.4 6/7] ld.lld: error: failed to open net/core/built-in.o: Cannot allocate memory
by kbuild test robot
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.4
head: d1974a0cf5157a22d0e7eaba08dff5500e37032a
commit: 9e1905b2a89a9b80b8b4c647c413e7259c9ae671 [6/7] UPSTREAM: drm: ensure atomic messages consistently include the name of the component
config: x86_64-randconfig-a016-20200515 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project b31cb3aa5ee7ea92d830b06a0a7e42c7f2791dd4)
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 9e1905b2a89a9b80b8b4c647c413e7259c9ae671
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
terminate called after throwing an instance of 'std::system_error'
what(): Resource temporarily unavailable
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
>> ld.lld: error: failed to open net/core/built-in.o: Cannot allocate memory
#0 0x000056360e88735a llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/opt/cross/clang-b31cb3aa5e/bin/lld+0x8a335a)
#1 0x000056360e885295 llvm::sys::RunSignalHandlers() (/opt/cross/clang-b31cb3aa5e/bin/lld+0x8a1295)
#2 0x000056360e8853b2 SignalHandler(int) (/opt/cross/clang-b31cb3aa5e/bin/lld+0x8a13b2)
#3 0x00007fcbb88dc110 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x14110)
#4 0x00007fcbb8402781 raise (/lib/x86_64-linux-gnu/libc.so.6+0x3b781)
#5 0x00007fcbb83ec55b abort (/lib/x86_64-linux-gnu/libc.so.6+0x2555b)
#6 0x00007fcbb878580c (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x9a80c)
#7 0x00007fcbb87908f6 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xa58f6)
#8 0x00007fcbb8790961 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xa5961)
#9 0x00007fcbb8790bf5 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xa5bf5)
#10 0x00007fcbb8788478 std::__throw_system_error(int) (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x9d478)
#11 0x00007fcbb87b9e69 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xcee69)
#12 0x000056361114d734 std::thread::_State_impl<std::_Bind_simple<llvm::parallel::detail::(anonymous namespace)::ThreadPoolExecutor::ThreadPoolExecutor(llvm::ThreadPoolStrategy)::'lambda'() ()> >::_M_run() (/opt/cross/clang-b31cb3aa5e/bin/lld+0x3169734)
#13 0x00007fcbb87b9be0 (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xcebe0)
#14 0x00007fcbb88d0f27 start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x8f27)
#15 0x00007fcbb84c431f clone (/lib/x86_64-linux-gnu/libc.so.6+0xfd31f)
/bin/bash: line 1: 58610 Aborted ld.lld -z max-page-size=0x200000 -r -o net/core/built-in.o net/core/sock.o net/core/request_sock.o net/core/skbuff.o net/core/datagram.o net/core/stream.o net/core/scm.o net/core/gen_stats.o net/core/gen_estimator.o net/core/net_namespace.o net/core/secure_seq.o net/core/flow_dissector.o net/core/sysctl_net_core.o net/core/dev.o net/core/ethtool.o net/core/dev_addr_lists.o net/core/dst.o net/core/netevent.o net/core/neighbour.o net/core/rtnetlink.o net/core/utils.o net/core/link_watch.o net/core/filter.o net/core/sock_diag.o net/core/dev_ioctl.o net/core/tso.o net/core/flow.o net/core/net-sysfs.o net/core/net-procfs.o net/core/fib_rules.o net/core/net-traces.o net/core/lwtunnel.o net/core/dst_cache.o
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
[RFC PATCH] drivers: nvmem: addr_in_qfprom_range() can be static
by kbuild test robot
Signed-off-by: kbuild test robot <lkp(a)intel.com>
---
qfprom-efuse.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/nvmem/qfprom-efuse.c b/drivers/nvmem/qfprom-efuse.c
index 2e3c275e963f9..577257d61d22d 100644
--- a/drivers/nvmem/qfprom-efuse.c
+++ b/drivers/nvmem/qfprom-efuse.c
@@ -206,8 +206,8 @@ static int qfprom_enable_fuse_blowing(const struct qfprom_efuse_priv *priv)
* verifying to make sure address being written or read is from qfprom
* raw address range
*/
-bool addr_in_qfprom_range(const struct qfprom_efuse_priv *priv, u32 reg,
- size_t bytes)
+static bool addr_in_qfprom_range(const struct qfprom_efuse_priv *priv, u32 reg,
+ size_t bytes)
{
if (((reg + bytes) > reg) && (reg >= priv->qfpraw_start) &&
((reg + bytes) <= priv->qfpraw_end)) {
2 years, 4 months
[linux-review:UPDATE-20200516-195607/Jordan-Niethe/Initial-Prefixed-Instruction-support/20200506-171736 29/30] arch/powerpc/lib/sstep.c:2696:9: error: 'suffix' undeclared
by kbuild test robot
tree: https://github.com/0day-ci/linux/commits/UPDATE-20200516-195607/Jordan-Ni...
head: dae797aa7e7f8d885f42df4c29129e8135bc7b1c
commit: b8a5a93bf8e358960a60e04435d411a867b5a1ea [29/30] powerpc sstep: Add support for prefixed load/stores
config: powerpc-defconfig (attached as .config)
compiler: powerpc64-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 b8a5a93bf8e358960a60e04435d411a867b5a1ea
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
arch/powerpc/lib/sstep.c: In function 'analyse_instr':
>> arch/powerpc/lib/sstep.c:2696:9: error: 'suffix' undeclared (first use in this function)
2696 | ra = (suffix >> 16) & 0x1f;
| ^~~~~~
arch/powerpc/lib/sstep.c:2696:9: note: each undeclared identifier is reported only once for each function it appears in
vim +/suffix +2696 arch/powerpc/lib/sstep.c
2677
2678 #ifdef __powerpc64__
2679 case 62: /* std[u] */
2680 op->ea = dsform_ea(word, regs);
2681 switch (word & 3) {
2682 case 0: /* std */
2683 op->type = MKOP(STORE, 0, 8);
2684 break;
2685 case 1: /* stdu */
2686 op->type = MKOP(STORE, UPDATE, 8);
2687 break;
2688 case 2: /* stq */
2689 if (!(rd & 1))
2690 op->type = MKOP(STORE, 0, 16);
2691 break;
2692 }
2693 break;
2694 case 1: /* Prefixed instructions */
2695 prefix_r = word & (1ul << 20);
> 2696 ra = (suffix >> 16) & 0x1f;
2697 op->update_reg = ra;
2698 rd = (suffix >> 21) & 0x1f;
2699 op->reg = rd;
2700 op->val = regs->gpr[rd];
2701
2702 suffixopcode = suffix >> 26;
2703 prefixtype = (word >> 24) & 0x3;
2704 switch (prefixtype) {
2705 case 0: /* Type 00 Eight-Byte Load/Store */
2706 if (prefix_r && ra)
2707 break;
2708 op->ea = mlsd_8lsd_ea(word, suffix, regs);
2709 switch (suffixopcode) {
2710 case 41: /* plwa */
2711 op->type = MKOP(LOAD, PREFIXED | SIGNEXT, 4);
2712 break;
2713 case 42: /* plxsd */
2714 op->reg = rd + 32;
2715 op->type = MKOP(LOAD_VSX, PREFIXED, 8);
2716 op->element_size = 8;
2717 op->vsx_flags = VSX_CHECK_VEC;
2718 break;
2719 case 43: /* plxssp */
2720 op->reg = rd + 32;
2721 op->type = MKOP(LOAD_VSX, PREFIXED, 4);
2722 op->element_size = 8;
2723 op->vsx_flags = VSX_FPCONV | VSX_CHECK_VEC;
2724 break;
2725 case 46: /* pstxsd */
2726 op->reg = rd + 32;
2727 op->type = MKOP(STORE_VSX, PREFIXED, 8);
2728 op->element_size = 8;
2729 op->vsx_flags = VSX_CHECK_VEC;
2730 break;
2731 case 47: /* pstxssp */
2732 op->reg = rd + 32;
2733 op->type = MKOP(STORE_VSX, PREFIXED, 4);
2734 op->element_size = 8;
2735 op->vsx_flags = VSX_FPCONV | VSX_CHECK_VEC;
2736 break;
2737 case 51: /* plxv1 */
2738 op->reg += 32;
2739 fallthrough;
2740 case 50: /* plxv0 */
2741 op->type = MKOP(LOAD_VSX, PREFIXED, 16);
2742 op->element_size = 16;
2743 op->vsx_flags = VSX_CHECK_VEC;
2744 break;
2745 case 55: /* pstxv1 */
2746 op->reg = rd + 32;
2747 fallthrough;
2748 case 54: /* pstxv0 */
2749 op->type = MKOP(STORE_VSX, PREFIXED, 16);
2750 op->element_size = 16;
2751 op->vsx_flags = VSX_CHECK_VEC;
2752 break;
2753 case 56: /* plq */
2754 op->type = MKOP(LOAD, PREFIXED, 16);
2755 break;
2756 case 57: /* pld */
2757 op->type = MKOP(LOAD, PREFIXED, 8);
2758 break;
2759 case 60: /* stq */
2760 op->type = MKOP(STORE, PREFIXED, 16);
2761 break;
2762 case 61: /* pstd */
2763 op->type = MKOP(STORE, PREFIXED, 8);
2764 break;
2765 }
2766 break;
2767 case 1: /* Type 01 Eight-Byte Register-to-Register */
2768 break;
2769 case 2: /* Type 10 Modified Load/Store */
2770 if (prefix_r && ra)
2771 break;
2772 op->ea = mlsd_8lsd_ea(word, suffix, regs);
2773 switch (suffixopcode) {
2774 case 32: /* plwz */
2775 op->type = MKOP(LOAD, PREFIXED, 4);
2776 break;
2777 case 34: /* plbz */
2778 op->type = MKOP(LOAD, PREFIXED, 1);
2779 break;
2780 case 36: /* pstw */
2781 op->type = MKOP(STORE, PREFIXED, 4);
2782 break;
2783 case 38: /* pstb */
2784 op->type = MKOP(STORE, PREFIXED, 1);
2785 break;
2786 case 40: /* plhz */
2787 op->type = MKOP(LOAD, PREFIXED, 2);
2788 break;
2789 case 42: /* plha */
2790 op->type = MKOP(LOAD, PREFIXED | SIGNEXT, 2);
2791 break;
2792 case 44: /* psth */
2793 op->type = MKOP(STORE, PREFIXED, 2);
2794 break;
2795 case 48: /* plfs */
2796 op->type = MKOP(LOAD_FP, PREFIXED | FPCONV, 4);
2797 break;
2798 case 50: /* plfd */
2799 op->type = MKOP(LOAD_FP, PREFIXED, 8);
2800 break;
2801 case 52: /* pstfs */
2802 op->type = MKOP(STORE_FP, PREFIXED | FPCONV, 4);
2803 break;
2804 case 54: /* pstfd */
2805 op->type = MKOP(STORE_FP, PREFIXED, 8);
2806 break;
2807 }
2808 break;
2809 case 3: /* Type 11 Modified Register-to-Register */
2810 break;
2811 }
2812 #endif /* __powerpc64__ */
2813
2814 }
2815
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
Re: [PATCH v2] bnxt_en: use new module_firmware_crashed()
by kbuild test robot
Hi Vasundhara,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on sparc-next/master]
[also build test ERROR on linus/master v5.7-rc5 next-20200515]
[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/Vasundhara-Volam/bnxt_en-use-new...
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next.git master
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 13d44b2a0c7ef404b13b16644765977cd5310fe2)
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:124:2: error: implicit declaration of function 'module_firmware_crashed' [-Werror,-Wimplicit-function-declaration]
module_firmware_crashed();
^
1 error generated.
vim +/module_firmware_crashed +124 drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c
112
113 static int bnxt_fw_fatal_recover(struct devlink_health_reporter *reporter,
114 void *priv_ctx,
115 struct netlink_ext_ack *extack)
116 {
117 struct bnxt *bp = devlink_health_reporter_priv(reporter);
118 struct bnxt_fw_reporter_ctx *fw_reporter_ctx = priv_ctx;
119 unsigned long event;
120
121 if (!priv_ctx)
122 return -EOPNOTSUPP;
123
> 124 module_firmware_crashed();
125 bp->fw_health->fatal = true;
126 event = fw_reporter_ctx->sp_event;
127 if (event == BNXT_FW_RESET_NOTIFY_SP_EVENT)
128 bnxt_fw_reset(bp);
129 else if (event == BNXT_FW_EXCEPTION_SP_EVENT)
130 bnxt_fw_exception(bp);
131
132 return -EINPROGRESS;
133 }
134
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
[linux-review:UPDATE-20200516-195607/Jordan-Niethe/Initial-Prefixed-Instruction-support/20200506-171736 24/30] arch/powerpc/lib/code-patching.c:708:8: error: implicit declaration of function 'ppc_inst_prefix'; did you mean 'ppc_inst_read'?
by kbuild test robot
tree: https://github.com/0day-ci/linux/commits/UPDATE-20200516-195607/Jordan-Ni...
head: dae797aa7e7f8d885f42df4c29129e8135bc7b1c
commit: 31f742bb39071e0fddf791ddb8dc998312c5bca0 [24/30] powerpc: Test prefixed code patching
config: powerpc-defconfig (attached as .config)
compiler: powerpc64-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 31f742bb39071e0fddf791ddb8dc998312c5bca0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
arch/powerpc/lib/code-patching.c: In function 'test_prefixed_patching':
>> arch/powerpc/lib/code-patching.c:708:8: error: implicit declaration of function 'ppc_inst_prefix'; did you mean 'ppc_inst_read'? [-Werror=implicit-function-declaration]
708 | ppc_inst_prefix(OP_PREFIX << 26, 0x00000000),
| ^~~~~~~~~~~~~~~
| ppc_inst_read
>> arch/powerpc/lib/code-patching.c:708:24: error: 'OP_PREFIX' undeclared (first use in this function); did you mean 'FSCR_PREFIX'?
708 | ppc_inst_prefix(OP_PREFIX << 26, 0x00000000),
| ^~~~~~~~~
| FSCR_PREFIX
arch/powerpc/lib/code-patching.c:708:24: note: each undeclared identifier is reported only once for each function it appears in
cc1: all warnings being treated as errors
vim +708 arch/powerpc/lib/code-patching.c
699
700 #ifdef __powerpc64__
701 static void __init test_prefixed_patching(void)
702 {
703 extern unsigned int code_patching_test1[];
704 extern unsigned int code_patching_test1_expected[];
705 extern unsigned int end_code_patching_test1[];
706
707 __patch_instruction((struct ppc_inst *)code_patching_test1,
> 708 ppc_inst_prefix(OP_PREFIX << 26, 0x00000000),
709 (struct ppc_inst *)code_patching_test1);
710
711 check(!memcmp(code_patching_test1,
712 code_patching_test1_expected,
713 sizeof(unsigned int) *
714 (end_code_patching_test1 - code_patching_test1)));
715 }
716 #endif
717
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
[chrome-os:chromeos-5.4 30/111] ld.lld: error: section .text at 0xFFFFFFFF80010000 of size 0x1114518 exceeds available address space
by kbuild test robot
TO: cros-kernel-buildreports(a)googlegroups.com
TO: Guenter Roeck <groeck(a)google.com>
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head: 2d23dcabce805e9443ddc1a73ec5e8dee91eba56
commit: 6867335e75502aeb6ff18b5d4cee2a31d404272f [30/111] CHROMIUM: net: Add per-netns dummy tcp_default_init_rwnd
config: mips-randconfig-r004-20200515 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project b31cb3aa5ee7ea92d830b06a0a7e42c7f2791dd4)
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
git checkout 6867335e75502aeb6ff18b5d4cee2a31d404272f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> ld.lld: error: section .text at 0xFFFFFFFF80010000 of size 0x1114518 exceeds available address space
ld.lld: error: section __ex_table at 0xFFFFFFFF81124520 of size 0x2008 exceeds available address space
ld.lld: error: section __dbe_table at 0xFFFFFFFF81126528 of size 0x0 exceeds available address space
ld.lld: error: section .notes at 0xFFFFFFFF81126528 of size 0x30 exceeds available address space
ld.lld: error: section .dummy at 0xFFFFFFFF81126558 of size 0x0 exceeds available address space
ld.lld: error: section .rodata at 0xFFFFFFFF81127000 of size 0x657513 exceeds available address space
ld.lld: error: section .data..page_aligned at 0xFFFFFFFF8177F000 of size 0x2000 exceeds available address space
ld.lld: error: section .got at 0xFFFFFFFF81781000 of size 0x8 exceeds available address space
ld.lld: error: section .rodata1 at 0xFFFFFFFF81781008 of size 0x0 exceeds available address space
ld.lld: error: section .pci_fixup at 0xFFFFFFFF81781008 of size 0x0 exceeds available address space
ld.lld: error: section .builtin_fw at 0xFFFFFFFF81781008 of size 0x0 exceeds available address space
ld.lld: error: section __ksymtab at 0xFFFFFFFF81781008 of size 0x10434 exceeds available address space
ld.lld: error: section __ksymtab_gpl at 0xFFFFFFFF8179143C of size 0xFC00 exceeds available address space
ld.lld: error: section __ksymtab_unused at 0xFFFFFFFF817A103C of size 0x0 exceeds available address space
ld.lld: error: section __ksymtab_unused_gpl at 0xFFFFFFFF817A103C of size 0x0 exceeds available address space
ld.lld: error: section __ksymtab_gpl_future at 0xFFFFFFFF817A103C of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab at 0xFFFFFFFF817A103C of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab_gpl at 0xFFFFFFFF817A103C of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab_unused at 0xFFFFFFFF817A103C of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab_unused_gpl at 0xFFFFFFFF817A103C of size 0x0 exceeds available address space
ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months