Buildresult: sfr-test/skiroot_defconfig/powerpc-gcc13 built on Oct 10, 20:45
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Oct 10, 20:45
Duration:
0:02:54.969868
Builder:
blade4b
Revision:
syscalls: use simpler file guard defines (
4156c85dbf936800bc450ceaa3ed7cd1570315dd)
Target:
sfr-test/skiroot_defconfig/powerpc-gcc13
Branch:
sfr-test
Compiler:
powerpc-gcc13
(powerpc64-linux-gcc (GCC) 13.1.0 / GNU ld (GNU Binutils) 2.40)
Config:
skiroot_defconfig
(
download
)
Log:
Download original
Possible errors
arch/powerpc/xmon/nonstdio.h:12:17: error: using a dangling pointer to '__str' [-Werror=dangling-pointer=] arch/powerpc/mm/book3s64/hash_utils.c:1119:35: error: 'default_uamor' undeclared (first use in this function) make[4]: *** [scripts/Makefile.build:283: arch/powerpc/mm/book3s64/hash_utils.o] Error 1 make[3]: *** [scripts/Makefile.build:500: arch/powerpc/mm/book3s64] Error 2 make[2]: *** [scripts/Makefile.build:500: arch/powerpc/mm] Error 2 cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:283: arch/powerpc/xmon/xmon.o] Error 1 make[2]: *** [scripts/Makefile.build:500: arch/powerpc/xmon] Error 2 make[1]: *** [Makefile:1789: arch/powerpc] Error 2 make: *** [Makefile:185: __sub-make] Error 2
Possible warnings (23)
net/core/dev.c:4646:22: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] net/core/dev.c:4676:28: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] mm/page_alloc.c:7580:27: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7580:41: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7580:27: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7580:41: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7580:27: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7580:41: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7580:27: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7580:41: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7580:27: warning: comparison between two arrays [-Warray-compare] mm/page_alloc.c:7580:41: warning: comparison between two arrays [-Warray-compare] net/ethernet/eth.c:167:23: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] net/ethernet/eth.c:169:30: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] net/ethernet/eth.c:170:29: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/virtio/virtio_pci_common.c:257:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'vp_dev->msix_affinity_masks + (sizetype)((long unsigned int)i * 256)' must not be NULL [-Waddress] drivers/net/ethernet/mellanox/mlx4/en_rx.c:749:45: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] drivers/net/ethernet/sfc/ef100_tx.c:329:5: warning: conflicting types for 'ef100_enqueue_skb' due to enum/integer mismatch; have 'int(struct efx_tx_queue *, struct sk_buff *)' [-Wenum-int-mismatch] include/linux/qed/qed_if.h:1146:9: warning: overflow in conversion from 'int' to 'u8' {aka 'unsigned char'} changes value from '(int)vf_id << 8 | 128' to '128' [-Woverflow] drivers/net/ethernet/intel/i40e/i40e_main.c:106:5: warning: conflicting types for 'i40e_allocate_dma_mem_d' due to enum/integer mismatch; have 'int(struct i40e_hw *, struct i40e_dma_mem *, u64, u32)' {aka 'int(struct i40e_hw *, struct i40e_dma_mem *, long long unsigned int, unsigned int)'} [-Wenum-int-mismatch] drivers/net/ethernet/intel/i40e/i40e_main.c:125:5: warning: conflicting types for 'i40e_free_dma_mem_d' due to enum/integer mismatch; have 'int(struct i40e_hw *, struct i40e_dma_mem *)' [-Wenum-int-mismatch] drivers/net/ethernet/intel/i40e/i40e_main.c:143:5: warning: conflicting types for 'i40e_allocate_virt_mem_d' due to enum/integer mismatch; have 'int(struct i40e_hw *, struct i40e_virt_mem *, u32)' {aka 'int(struct i40e_hw *, struct i40e_virt_mem *, unsigned int)'} [-Wenum-int-mismatch] drivers/net/ethernet/intel/i40e/i40e_main.c:160:5: warning: conflicting types for 'i40e_free_virt_mem_d' due to enum/integer mismatch; have 'int(struct i40e_hw *, struct i40e_virt_mem *)' [-Wenum-int-mismatch]
Full Log
# git rev-parse -q --verify 4156c85dbf936800bc450ceaa3ed7cd1570315dd^{commit} 4156c85dbf936800bc450ceaa3ed7cd1570315dd already have revision, skipping fetch # git checkout -q -f -B kisskb 4156c85dbf936800bc450ceaa3ed7cd1570315dd # git clean -qxdf # < git log -1 # commit 4156c85dbf936800bc450ceaa3ed7cd1570315dd # Author: Stephen Rothwell <sfr@canb.auug.org.au> # Date: Wed Aug 19 21:32:00 2020 +1000 # # syscalls: use simpler file guard defines # # A couple of architectures were defining the generated file's guards to 1 # rather than just defining then like most of our other include file guards. # This simplifies the generating script a little. # # Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 4156c85dbf936800bc450ceaa3ed7cd1570315dd # make -s -j 24 ARCH=powerpc O=/kisskb/build/sfr-test_skiroot_defconfig_powerpc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- skiroot_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/sfr-test_skiroot_defconfig_powerpc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/sfr-test_skiroot_defconfig_powerpc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/sfr-test_skiroot_defconfig_powerpc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/arch/powerpc/xmon/xmon.c:63: /kisskb/src/arch/powerpc/xmon/xmon.c: In function 'generic_inst_dump': /kisskb/src/arch/powerpc/xmon/nonstdio.h:12:17: error: using a dangling pointer to '__str' [-Werror=dangling-pointer=] 12 | #define printf xmon_printf /kisskb/src/arch/powerpc/xmon/xmon.c:2979:25: note: in expansion of macro 'printf' 2979 | printf(REG" %s", adr, ppc_inst_as_str(inst)); | ^~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/sstep.h:5, from /kisskb/src/arch/powerpc/xmon/xmon.c:43: /kisskb/src/arch/powerpc/include/asm/inst.h:139:14: note: '__str' declared here 139 | char __str[PPC_INST_STR_LEN]; \ | ^~~~~ /kisskb/src/arch/powerpc/xmon/xmon.c:2979:48: note: in expansion of macro 'ppc_inst_as_str' 2979 | printf(REG" %s", adr, ppc_inst_as_str(inst)); | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/processor.h:9, from /kisskb/src/arch/powerpc/include/asm/thread_info.h:40, from /kisskb/src/include/linux/thread_info.h:38, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/arch/powerpc/mm/book3s64/hash_utils.c:21: /kisskb/src/arch/powerpc/mm/book3s64/hash_utils.c: In function 'hash__early_init_mmu_secondary': /kisskb/src/arch/powerpc/mm/book3s64/hash_utils.c:1119:35: error: 'default_uamor' undeclared (first use in this function) 1119 | mtspr(SPRN_UAMOR, default_uamor); | ^~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/reg.h:1396:61: note: in definition of macro 'mtspr' 1396 | : "r" ((unsigned long)(v)) \ | ^ /kisskb/src/arch/powerpc/mm/book3s64/hash_utils.c:1119:35: note: each undeclared identifier is reported only once for each function it appears in 1119 | mtspr(SPRN_UAMOR, default_uamor); | ^~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/reg.h:1396:61: note: in definition of macro 'mtspr' 1396 | : "r" ((unsigned long)(v)) \ | ^ make[4]: *** [/kisskb/src/scripts/Makefile.build:283: arch/powerpc/mm/book3s64/hash_utils.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:500: arch/powerpc/mm/book3s64] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:500: arch/powerpc/mm] Error 2 make[2]: *** Waiting for unfinished jobs.... cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:283: arch/powerpc/xmon/xmon.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: arch/powerpc/xmon] Error 2 make[1]: *** [/kisskb/src/Makefile:1789: arch/powerpc] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/net/core/dev.c: In function 'netif_receive_generic_xdp': /kisskb/src/net/core/dev.c:4646:22: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 4646 | orig_bcast = is_multicast_ether_addr_64bits(eth->h_dest); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/dev.c:4646:22: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/net/core/dev.c:91: /kisskb/src/include/linux/etherdevice.h:130:20: note: in a call to function 'is_multicast_ether_addr_64bits' 130 | static inline bool is_multicast_ether_addr_64bits(const u8 addr[6+2]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/dev.c:4676:28: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 4676 | (orig_bcast != is_multicast_ether_addr_64bits(eth->h_dest))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/dev.c:4676:28: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/include/linux/etherdevice.h:130:20: note: in a call to function 'is_multicast_ether_addr_64bits' 130 | static inline bool is_multicast_ether_addr_64bits(const u8 addr[6+2]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c: In function 'mem_init_print_info': /kisskb/src/mm/page_alloc.c:7580:27: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7584:9: note: in expansion of macro 'adj_init_size' 7584 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: note: use '&__init_begin[0] <= &_sinittext[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7584:9: note: in expansion of macro 'adj_init_size' 7584 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7584:9: note: in expansion of macro 'adj_init_size' 7584 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: note: use '&_sinittext[0] < &__init_end[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7584:9: note: in expansion of macro 'adj_init_size' 7584 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7586:9: note: in expansion of macro 'adj_init_size' 7586 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: note: use '&_stext[0] <= &_sinittext[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7586:9: note: in expansion of macro 'adj_init_size' 7586 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7586:9: note: in expansion of macro 'adj_init_size' 7586 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: note: use '&_sinittext[0] < &_etext[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7586:9: note: in expansion of macro 'adj_init_size' 7586 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7587:9: note: in expansion of macro 'adj_init_size' 7587 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: note: use '&_sdata[0] <= &__init_begin[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7587:9: note: in expansion of macro 'adj_init_size' 7587 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7587:9: note: in expansion of macro 'adj_init_size' 7587 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: note: use '&__init_begin[0] < &_edata[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7587:9: note: in expansion of macro 'adj_init_size' 7587 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7588:9: note: in expansion of macro 'adj_init_size' 7588 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: note: use '&_stext[0] <= &__start_rodata[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7588:9: note: in expansion of macro 'adj_init_size' 7588 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7588:9: note: in expansion of macro 'adj_init_size' 7588 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: note: use '&__start_rodata[0] < &_etext[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7588:9: note: in expansion of macro 'adj_init_size' 7588 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7589:9: note: in expansion of macro 'adj_init_size' 7589 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:27: note: use '&_sdata[0] <= &__start_rodata[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7589:9: note: in expansion of macro 'adj_init_size' 7589 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: warning: comparison between two arrays [-Warray-compare] 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7589:9: note: in expansion of macro 'adj_init_size' 7589 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7580:41: note: use '&__start_rodata[0] < &_edata[0]' to compare the addresses 7580 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7589:9: note: in expansion of macro 'adj_init_size' 7589 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:12, from /kisskb/src/net/ethernet/eth.c:36: /kisskb/src/net/ethernet/eth.c: In function 'eth_type_trans': /kisskb/src/net/ethernet/eth.c:167:23: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 167 | if (unlikely(!ether_addr_equal_64bits(eth->h_dest, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | dev->dev_addr))) { | ~~~~~~~~~~~~~~ /kisskb/src/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/net/ethernet/eth.c:167:23: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 167 | if (unlikely(!ether_addr_equal_64bits(eth->h_dest, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | dev->dev_addr))) { | ~~~~~~~~~~~~~~ /kisskb/src/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/net/ethernet/eth.c:167:23: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} 167 | if (unlikely(!ether_addr_equal_64bits(eth->h_dest, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | dev->dev_addr))) { | ~~~~~~~~~~~~~~ /kisskb/src/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from /kisskb/src/net/ethernet/eth.c:47: /kisskb/src/include/linux/etherdevice.h:355:20: note: in a call to function 'ether_addr_equal_64bits' 355 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ethernet/eth.c:169:30: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 169 | if (unlikely(is_multicast_ether_addr_64bits(eth->h_dest))) { /kisskb/src/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/net/ethernet/eth.c:169:30: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} 169 | if (unlikely(is_multicast_ether_addr_64bits(eth->h_dest))) { /kisskb/src/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/include/linux/etherdevice.h:130:20: note: in a call to function 'is_multicast_ether_addr_64bits' 130 | static inline bool is_multicast_ether_addr_64bits(const u8 addr[6+2]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ethernet/eth.c:170:29: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 170 | if (ether_addr_equal_64bits(eth->h_dest, dev->broadcast)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ethernet/eth.c:170:29: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/net/ethernet/eth.c:170:29: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} /kisskb/src/include/linux/etherdevice.h:355:20: note: in a call to function 'ether_addr_equal_64bits' 355 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/virtio/virtio_pci_common.c: In function 'vp_del_vqs': /kisskb/src/drivers/virtio/virtio_pci_common.c:257:29: warning: the comparison will always evaluate as 'true' for the pointer operand in 'vp_dev->msix_affinity_masks + (sizetype)((long unsigned int)i * 256)' must not be NULL [-Waddress] 257 | if (vp_dev->msix_affinity_masks[i]) | ^~~~~~ /kisskb/src/drivers/net/ethernet/mellanox/mlx4/en_rx.c: In function 'mlx4_en_process_rx_cq': /kisskb/src/drivers/net/ethernet/mellanox/mlx4/en_rx.c:749:45: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 749 | if (ether_addr_equal_64bits(entry->mac, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 750 | ethh->h_source)) | ~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/mellanox/mlx4/en_rx.c:749:45: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'} In file included from /kisskb/src/include/linux/if_vlan.h:11, from /kisskb/src/include/linux/filter.h:21, from /kisskb/src/include/trace/events/xdp.h:9, from /kisskb/src/include/linux/bpf_trace.h:5, from /kisskb/src/drivers/net/ethernet/mellanox/mlx4/en_rx.c:35: /kisskb/src/include/linux/etherdevice.h:355:20: note: in a call to function 'ether_addr_equal_64bits' 355 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/sfc/ef100_tx.c:329:5: warning: conflicting types for 'ef100_enqueue_skb' due to enum/integer mismatch; have 'int(struct efx_tx_queue *, struct sk_buff *)' [-Wenum-int-mismatch] 329 | int ef100_enqueue_skb(struct efx_tx_queue *tx_queue, struct sk_buff *skb) | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/net/ethernet/sfc/ef100_tx.c:20: /kisskb/src/drivers/net/ethernet/sfc/ef100_tx.h:25:13: note: previous declaration of 'ef100_enqueue_skb' with type 'netdev_tx_t(struct efx_tx_queue *, struct sk_buff *)' {aka 'enum netdev_tx(struct efx_tx_queue *, struct sk_buff *)'} 25 | netdev_tx_t ef100_enqueue_skb(struct efx_tx_queue *tx_queue, struct sk_buff *skb); | ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/net/ethernet/qlogic/qed/qed.h:23, from /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_debug.c:10: /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_debug.c: In function 'qed_grc_dump_addr_range': /kisskb/src/include/linux/qed/qed_if.h:1146:9: warning: overflow in conversion from 'int' to 'u8' {aka 'unsigned char'} changes value from '(int)vf_id << 8 | 128' to '128' [-Woverflow] 1146 | ((_value & _name ## _MASK) << _name ## _SHIFT) | ^ /kisskb/src/drivers/net/ethernet/qlogic/qed/qed_debug.c:1894:31: note: in expansion of macro 'FIELD_VALUE' 1894 | fid = FIELD_VALUE(PXP_PRETEND_CONCRETE_FID_VFVALID, 1) | ^~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/intel/i40e/i40e_main.c:106:5: warning: conflicting types for 'i40e_allocate_dma_mem_d' due to enum/integer mismatch; have 'int(struct i40e_hw *, struct i40e_dma_mem *, u64, u32)' {aka 'int(struct i40e_hw *, struct i40e_dma_mem *, long long unsigned int, unsigned int)'} [-Wenum-int-mismatch] 106 | int i40e_allocate_dma_mem_d(struct i40e_hw *hw, struct i40e_dma_mem *mem, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/net/ethernet/intel/i40e/i40e_type.h:8, from /kisskb/src/drivers/net/ethernet/intel/i40e/i40e.h:39, from /kisskb/src/drivers/net/ethernet/intel/i40e/i40e_main.c:11: /kisskb/src/drivers/net/ethernet/intel/i40e/i40e_osdep.h:40:25: note: previous declaration of 'i40e_allocate_dma_mem_d' with type 'i40e_status(struct i40e_hw *, struct i40e_dma_mem *, u64, u32)' {aka 'enum i40e_status_code(struct i40e_hw *, struct i40e_dma_mem *, long long unsigned int, unsigned int)'} 40 | i40e_allocate_dma_mem_d(h, m, s, a) | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/intel/i40e/i40e_alloc.h:23:13: note: in expansion of macro 'i40e_allocate_dma_mem' 23 | i40e_status i40e_allocate_dma_mem(struct i40e_hw *hw, | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/intel/i40e/i40e_main.c:125:5: warning: conflicting types for 'i40e_free_dma_mem_d' due to enum/integer mismatch; have 'int(struct i40e_hw *, struct i40e_dma_mem *)' [-Wenum-int-mismatch] 125 | int i40e_free_dma_mem_d(struct i40e_hw *hw, struct i40e_dma_mem *mem) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/intel/i40e/i40e_osdep.h:41:33: note: previous declaration of 'i40e_free_dma_mem_d' with type 'i40e_status(struct i40e_hw *, struct i40e_dma_mem *)' {aka 'enum i40e_status_code(struct i40e_hw *, struct i40e_dma_mem *)'} 41 | #define i40e_free_dma_mem(h, m) i40e_free_dma_mem_d(h, m) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/intel/i40e/i40e_alloc.h:27:13: note: in expansion of macro 'i40e_free_dma_mem' 27 | i40e_status i40e_free_dma_mem(struct i40e_hw *hw, | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/intel/i40e/i40e_main.c:143:5: warning: conflicting types for 'i40e_allocate_virt_mem_d' due to enum/integer mismatch; have 'int(struct i40e_hw *, struct i40e_virt_mem *, u32)' {aka 'int(struct i40e_hw *, struct i40e_virt_mem *, unsigned int)'} [-Wenum-int-mismatch] 143 | int i40e_allocate_virt_mem_d(struct i40e_hw *hw, struct i40e_virt_mem *mem, | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/intel/i40e/i40e_osdep.h:48:41: note: previous declaration of 'i40e_allocate_virt_mem_d' with type 'i40e_status(struct i40e_hw *, struct i40e_virt_mem *, u32)' {aka 'enum i40e_status_code(struct i40e_hw *, struct i40e_virt_mem *, unsigned int)'} 48 | #define i40e_allocate_virt_mem(h, m, s) i40e_allocate_virt_mem_d(h, m, s) | ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/intel/i40e/i40e_alloc.h:29:13: note: in expansion of macro 'i40e_allocate_virt_mem' 29 | i40e_status i40e_allocate_virt_mem(struct i40e_hw *hw, | ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/intel/i40e/i40e_main.c:160:5: warning: conflicting types for 'i40e_free_virt_mem_d' due to enum/integer mismatch; have 'int(struct i40e_hw *, struct i40e_virt_mem *)' [-Wenum-int-mismatch] 160 | int i40e_free_virt_mem_d(struct i40e_hw *hw, struct i40e_virt_mem *mem) | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/intel/i40e/i40e_osdep.h:49:34: note: previous declaration of 'i40e_free_virt_mem_d' with type 'i40e_status(struct i40e_hw *, struct i40e_virt_mem *)' {aka 'enum i40e_status_code(struct i40e_hw *, struct i40e_virt_mem *)'} 49 | #define i40e_free_virt_mem(h, m) i40e_free_virt_mem_d(h, m) | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/intel/i40e/i40e_alloc.h:32:13: note: in expansion of macro 'i40e_free_virt_mem' 32 | i40e_status i40e_free_virt_mem(struct i40e_hw *hw, | ^~~~~~~~~~~~~~~~~~ make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 24 ARCH=powerpc O=/kisskb/build/sfr-test_skiroot_defconfig_powerpc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/sfr-test_skiroot_defconfig_powerpc-gcc13 # Build took: 0:02:54.969868
© Michael Ellerman 2006-2018.