# git rev-parse -q --verify d5226fa6dbae0569ee43ecfc08bdcd6770fc4755^{commit} d5226fa6dbae0569ee43ecfc08bdcd6770fc4755 already have revision, skipping fetch # git checkout -q -f -B kisskb d5226fa6dbae0569ee43ecfc08bdcd6770fc4755 # git clean -qxdf # < git log -1 # commit d5226fa6dbae0569ee43ecfc08bdcd6770fc4755 # Author: Linus Torvalds # Date: Sun Jan 26 16:23:03 2020 -0800 # # Linux 5.5 # < /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 d5226fa6dbae0569ee43ecfc08bdcd6770fc4755 # < make -s -j 40 ARCH=powerpc O=/kisskb/build/mpe_corenet64_smp_defconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- corenet64_smp_defconfig # < make -s -j 40 ARCH=powerpc O=/kisskb/build/mpe_corenet64_smp_defconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 40 ARCH=powerpc O=/kisskb/build/mpe_corenet64_smp_defconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 40 ARCH=powerpc O=/kisskb/build/mpe_corenet64_smp_defconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In function 'vdso_fixup_datapage', inlined from 'vdso_setup' at /kisskb/src/arch/powerpc/kernel/vdso.c:626:6, inlined from 'vdso_init' at /kisskb/src/arch/powerpc/kernel/vdso.c:759:6: /kisskb/src/arch/powerpc/kernel/vdso.c:505:67: error: array subscript 'int[0]' is partly outside array bounds of 'char[1]' [-Werror=array-bounds] 505 | *((int *)(vdso64_kbase + sym64->st_value - VDSO64_LBASE)) = | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 506 | (vdso64_pages << PAGE_SHIFT) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 507 | (sym64->st_value - VDSO64_LBASE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kernel/vdso.c: In function 'vdso_init': /kisskb/src/arch/powerpc/kernel/vdso.c:59:13: note: object 'vdso64_start' of size 1 59 | extern char vdso64_start, vdso64_end; | ^~~~~~~~~~~~ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:265: arch/powerpc/kernel/vdso.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:503: arch/powerpc/kernel] Error 2 make[2]: *** Waiting for unfinished jobs.... 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:344:20: note: in a call to function 'ether_addr_equal_64bits' 344 | 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:344:20: note: in a call to function 'ether_addr_equal_64bits' 344 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [/kisskb/src/Makefile:1693: arch/powerpc] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/mm/page_alloc.c: In function 'mem_init_print_info': /kisskb/src/mm/page_alloc.c:7527:27: warning: comparison between two arrays [-Warray-compare] 7527 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7531:9: note: in expansion of macro 'adj_init_size' 7531 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:27: note: use '&__init_begin[0] <= &_sinittext[0]' to compare the addresses 7527 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7531:9: note: in expansion of macro 'adj_init_size' 7531 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:41: warning: comparison between two arrays [-Warray-compare] 7527 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7531:9: note: in expansion of macro 'adj_init_size' 7531 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:41: note: use '&_sinittext[0] < &__init_end[0]' to compare the addresses 7527 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7531:9: note: in expansion of macro 'adj_init_size' 7531 | adj_init_size(__init_begin, __init_end, init_data_size, | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:27: warning: comparison between two arrays [-Warray-compare] 7527 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7533:9: note: in expansion of macro 'adj_init_size' 7533 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:27: note: use '&_stext[0] <= &_sinittext[0]' to compare the addresses 7527 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7533:9: note: in expansion of macro 'adj_init_size' 7533 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:41: warning: comparison between two arrays [-Warray-compare] 7527 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7533:9: note: in expansion of macro 'adj_init_size' 7533 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:41: note: use '&_sinittext[0] < &_etext[0]' to compare the addresses 7527 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7533:9: note: in expansion of macro 'adj_init_size' 7533 | adj_init_size(_stext, _etext, codesize, _sinittext, init_code_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:27: warning: comparison between two arrays [-Warray-compare] 7527 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7534:9: note: in expansion of macro 'adj_init_size' 7534 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:27: note: use '&_sdata[0] <= &__init_begin[0]' to compare the addresses 7527 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7534:9: note: in expansion of macro 'adj_init_size' 7534 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:41: warning: comparison between two arrays [-Warray-compare] 7527 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7534:9: note: in expansion of macro 'adj_init_size' 7534 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:41: note: use '&__init_begin[0] < &_edata[0]' to compare the addresses 7527 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7534:9: note: in expansion of macro 'adj_init_size' 7534 | adj_init_size(_sdata, _edata, datasize, __init_begin, init_data_size); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:27: warning: comparison between two arrays [-Warray-compare] 7527 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7535:9: note: in expansion of macro 'adj_init_size' 7535 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:27: note: use '&_stext[0] <= &__start_rodata[0]' to compare the addresses 7527 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7535:9: note: in expansion of macro 'adj_init_size' 7535 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:41: warning: comparison between two arrays [-Warray-compare] 7527 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7535:9: note: in expansion of macro 'adj_init_size' 7535 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:41: note: use '&__start_rodata[0] < &_etext[0]' to compare the addresses 7527 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7535:9: note: in expansion of macro 'adj_init_size' 7535 | adj_init_size(_stext, _etext, codesize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:27: warning: comparison between two arrays [-Warray-compare] 7527 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7536:9: note: in expansion of macro 'adj_init_size' 7536 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:27: note: use '&_sdata[0] <= &__start_rodata[0]' to compare the addresses 7527 | if (start <= pos && pos < end && size > adj) \ | ^~ /kisskb/src/mm/page_alloc.c:7536:9: note: in expansion of macro 'adj_init_size' 7536 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:41: warning: comparison between two arrays [-Warray-compare] 7527 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7536:9: note: in expansion of macro 'adj_init_size' 7536 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ /kisskb/src/mm/page_alloc.c:7527:41: note: use '&__start_rodata[0] < &_edata[0]' to compare the addresses 7527 | if (start <= pos && pos < end && size > adj) \ | ^ /kisskb/src/mm/page_alloc.c:7536:9: note: in expansion of macro 'adj_init_size' 7536 | adj_init_size(_sdata, _edata, datasize, __start_rodata, rosize); | ^~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:37, from /kisskb/src/include/net/dst.h:13, from /kisskb/src/net/ipv4/tcp_input.c:73: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:2009:2, inlined from 'tcp_collapse' at /kisskb/src/net/ipv4/tcp_input.c:4977:4: /kisskb/src/include/linux/skbuff.h:1976:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1976 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ipv4/tcp_input.c: In function 'tcp_collapse': /kisskb/src/net/ipv4/tcp_input.c:4916:29: note: object 'tmp' of size 24 4916 | struct sk_buff_head tmp; | ^~~ /kisskb/src/fs/hpfs/anode.c: In function 'hpfs_add_sector_to_btree': /kisskb/src/fs/hpfs/anode.c:209:48: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct bplus_internal_node[0]' [-Wzero-length-bounds] 209 | anode->btree.u.internal[0].down = cpu_to_le32(a); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /kisskb/src/fs/hpfs/hpfs_fn.h:26, from /kisskb/src/fs/hpfs/anode.c:10: /kisskb/src/fs/hpfs/hpfs.h:411:32: note: while referencing 'internal' 411 | struct bplus_internal_node internal[0]; /* (internal) 2-word entries giving | ^~~~~~~~ /kisskb/src/fs/hpfs/anode.c:210:48: warning: array subscript 0 is outside the bounds of an interior zero-length array 'struct bplus_internal_node[0]' [-Wzero-length-bounds] 210 | anode->btree.u.internal[0].file_secno = cpu_to_le32(-1); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/fs/hpfs/hpfs.h:411:32: note: while referencing 'internal' 411 | struct bplus_internal_node internal[0]; /* (internal) 2-word entries giving | ^~~~~~~~ In function 'ext4_ext_convert_to_initialized', inlined from 'ext4_ext_handle_unwritten_extents' at /kisskb/src/fs/ext4/extents.c:4128:8, inlined from 'ext4_ext_map_blocks' at /kisskb/src/fs/ext4/extents.c:4359:10: /kisskb/src/fs/ext4/extents.c:3783:31: warning: 'zero_ex2.ee_start_lo' may be used uninitialized [-Wmaybe-uninitialized] 3783 | err = ext4_zeroout_es(inode, &zero_ex2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ext4/extents.c: In function 'ext4_ext_map_blocks': /kisskb/src/fs/ext4/extents.c:3560:38: note: 'zero_ex2.ee_start_lo' was declared here 3560 | struct ext4_extent zero_ex1, zero_ex2; | ^~~~~~~~ In function 'ext4_ext_convert_to_initialized', inlined from 'ext4_ext_handle_unwritten_extents' at /kisskb/src/fs/ext4/extents.c:4128:8, inlined from 'ext4_ext_map_blocks' at /kisskb/src/fs/ext4/extents.c:4359:10: /kisskb/src/fs/ext4/extents.c:3783:31: warning: 'zero_ex2.ee_start_hi' may be used uninitialized [-Wmaybe-uninitialized] 3783 | err = ext4_zeroout_es(inode, &zero_ex2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ext4/extents.c: In function 'ext4_ext_map_blocks': /kisskb/src/fs/ext4/extents.c:3560:38: note: 'zero_ex2.ee_start_hi' was declared here 3560 | struct ext4_extent zero_ex1, zero_ex2; | ^~~~~~~~ In function 'ext4_ext_convert_to_initialized', inlined from 'ext4_ext_handle_unwritten_extents' at /kisskb/src/fs/ext4/extents.c:4128:8, inlined from 'ext4_ext_map_blocks' at /kisskb/src/fs/ext4/extents.c:4359:10: /kisskb/src/fs/ext4/extents.c:3783:31: warning: 'zero_ex2.ee_block' may be used uninitialized [-Wmaybe-uninitialized] 3783 | err = ext4_zeroout_es(inode, &zero_ex2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ext4/extents.c: In function 'ext4_ext_map_blocks': /kisskb/src/fs/ext4/extents.c:3560:38: note: 'zero_ex2.ee_block' was declared here 3560 | struct ext4_extent zero_ex1, zero_ex2; | ^~~~~~~~ In function 'ext4_ext_convert_to_initialized', inlined from 'ext4_ext_handle_unwritten_extents' at /kisskb/src/fs/ext4/extents.c:4128:8, inlined from 'ext4_ext_map_blocks' at /kisskb/src/fs/ext4/extents.c:4359:10: /kisskb/src/fs/ext4/extents.c:3781:23: warning: 'zero_ex1.ee_start_lo' may be used uninitialized [-Wmaybe-uninitialized] 3781 | err = ext4_zeroout_es(inode, &zero_ex1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ext4/extents.c: In function 'ext4_ext_map_blocks': /kisskb/src/fs/ext4/extents.c:3560:28: note: 'zero_ex1.ee_start_lo' was declared here 3560 | struct ext4_extent zero_ex1, zero_ex2; | ^~~~~~~~ In function 'ext4_ext_convert_to_initialized', inlined from 'ext4_ext_handle_unwritten_extents' at /kisskb/src/fs/ext4/extents.c:4128:8, inlined from 'ext4_ext_map_blocks' at /kisskb/src/fs/ext4/extents.c:4359:10: /kisskb/src/fs/ext4/extents.c:3781:23: warning: 'zero_ex1.ee_start_hi' may be used uninitialized [-Wmaybe-uninitialized] 3781 | err = ext4_zeroout_es(inode, &zero_ex1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ext4/extents.c: In function 'ext4_ext_map_blocks': /kisskb/src/fs/ext4/extents.c:3560:28: note: 'zero_ex1.ee_start_hi' was declared here 3560 | struct ext4_extent zero_ex1, zero_ex2; | ^~~~~~~~ In function 'ext4_ext_convert_to_initialized', inlined from 'ext4_ext_handle_unwritten_extents' at /kisskb/src/fs/ext4/extents.c:4128:8, inlined from 'ext4_ext_map_blocks' at /kisskb/src/fs/ext4/extents.c:4359:10: /kisskb/src/fs/ext4/extents.c:3781:23: warning: 'zero_ex1.ee_block' may be used uninitialized [-Wmaybe-uninitialized] 3781 | err = ext4_zeroout_es(inode, &zero_ex1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ext4/extents.c: In function 'ext4_ext_map_blocks': /kisskb/src/fs/ext4/extents.c:3560:28: note: 'zero_ex1.ee_block' was declared here 3560 | struct ext4_extent zero_ex1, zero_ex2; | ^~~~~~~~ /kisskb/src/net/core/dev.c: In function 'netif_receive_generic_xdp': /kisskb/src/net/core/dev.c:4515:22: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 4515 | orig_bcast = is_multicast_ether_addr_64bits(eth->h_dest); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/dev.c:4515: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:90: /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:4548:28: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread] 4548 | (orig_bcast != is_multicast_ether_addr_64bits(eth->h_dest))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/dev.c:4548: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]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/lib/zstd/compress.c:2270: In function 'ZSTD_compressBlock_opt_extDict_generic', inlined from 'ZSTD_compressBlock_btopt_extDict' at /kisskb/src/lib/zstd/compress.c:2299:2: /kisskb/src/lib/zstd/zstd_opt.h:855:143: warning: array subscript 3 is above array bounds of 'U32[3]' {aka 'unsigned int[3]'} [-Warray-bounds] 855 | ((opt[cur].off == ZSTD_REP_MOVE_OPT) && (mlen != 1)) ? (opt[cur - mlen].rep[0] - 1) : (opt[cur - mlen].rep[opt[cur].off]); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /kisskb/src/lib/zstd/compress.c:23: /kisskb/src/lib/zstd/zstd_internal.h: In function 'ZSTD_compressBlock_btopt_extDict': /kisskb/src/lib/zstd/zstd_internal.h:169:13: note: while referencing 'rep' 169 | U32 rep[ZSTD_REP_NUM]; | ^~~ In function 'ZSTD_compressBlock_opt_extDict_generic', inlined from 'ZSTD_compressBlock_btopt2_extDict' at /kisskb/src/lib/zstd/compress.c:2311:2: /kisskb/src/lib/zstd/zstd_opt.h:855:143: warning: array subscript 3 is above array bounds of 'U32[3]' {aka 'unsigned int[3]'} [-Warray-bounds] 855 | ((opt[cur].off == ZSTD_REP_MOVE_OPT) && (mlen != 1)) ? (opt[cur - mlen].rep[0] - 1) : (opt[cur - mlen].rep[opt[cur].off]); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /kisskb/src/lib/zstd/zstd_internal.h: In function 'ZSTD_compressBlock_btopt2_extDict': /kisskb/src/lib/zstd/zstd_internal.h:169:13: note: while referencing 'rep' 169 | U32 rep[ZSTD_REP_NUM]; | ^~~ In function 'ZSTD_compressBlock_opt_generic', inlined from 'ZSTD_compressBlock_btopt' at /kisskb/src/lib/zstd/compress.c:2275:2: /kisskb/src/lib/zstd/zstd_opt.h:547:143: warning: array subscript 3 is above array bounds of 'U32[3]' {aka 'unsigned int[3]'} [-Warray-bounds] 547 | ((opt[cur].off == ZSTD_REP_MOVE_OPT) && (mlen != 1)) ? (opt[cur - mlen].rep[0] - 1) : (opt[cur - mlen].rep[opt[cur].off]); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /kisskb/src/lib/zstd/zstd_internal.h: In function 'ZSTD_compressBlock_btopt': /kisskb/src/lib/zstd/zstd_internal.h:169:13: note: while referencing 'rep' 169 | U32 rep[ZSTD_REP_NUM]; | ^~~ In function 'ZSTD_compressBlock_opt_generic', inlined from 'ZSTD_compressBlock_btopt2' at /kisskb/src/lib/zstd/compress.c:2287:2: /kisskb/src/lib/zstd/zstd_opt.h:547:143: warning: array subscript 3 is above array bounds of 'U32[3]' {aka 'unsigned int[3]'} [-Warray-bounds] 547 | ((opt[cur].off == ZSTD_REP_MOVE_OPT) && (mlen != 1)) ? (opt[cur - mlen].rep[0] - 1) : (opt[cur - mlen].rep[opt[cur].off]); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /kisskb/src/lib/zstd/zstd_internal.h: In function 'ZSTD_compressBlock_btopt2': /kisskb/src/lib/zstd/zstd_internal.h:169:13: note: while referencing 'rep' 169 | U32 rep[ZSTD_REP_NUM]; | ^~~ /kisskb/src/fs/qnx4/dir.c: In function 'qnx4_readdir': /kisskb/src/fs/qnx4/dir.c:51:32: warning: 'strnlen' specified bound 48 exceeds source size 16 [-Wstringop-overread] 51 | size = strnlen(de->di_fname, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/fs/qnx4/qnx4.h:3, from /kisskb/src/fs/qnx4/dir.c:16: /kisskb/src/include/uapi/linux/qnx4_fs.h:45:25: note: source object allocated here 45 | char di_fname[QNX4_SHORT_NAME_MAX]; | ^~~~~~~~ /kisskb/src/fs/notify/fdinfo.c: In function 'show_mark_fhandle': /kisskb/src/fs/notify/fdinfo.c:66:61: warning: array subscript 'i' is outside the bounds of an interior zero-length array 'unsigned char[0]' [-Wzero-length-bounds] 66 | seq_printf(m, "%02x", (int)f.handle.f_handle[i]); | ~~~~~~~~~~~~~~~~~^~~ In file included from /kisskb/src/fs/notify/fdinfo.c:3: /kisskb/src/include/linux/fs.h:980:23: note: while referencing 'f_handle' 980 | unsigned char f_handle[0]; | ^~~~~~~~ In file included from /kisskb/src/net/sctp/ulpqueue.c:24: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:2009:2, inlined from 'sctp_ulpq_reap_ordered' at /kisskb/src/net/sctp/ulpqueue.c:913:3, inlined from 'sctp_ulpq_skip' at /kisskb/src/net/sctp/ulpqueue.c:962:2: /kisskb/src/include/linux/skbuff.h:1976:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1976 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/ulpqueue.c: In function 'sctp_ulpq_skip': /kisskb/src/net/sctp/ulpqueue.c:881:29: note: object 'temp' of size 24 881 | struct sk_buff_head temp; | ^~~~ In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:2009:2, inlined from 'sctp_ulpq_reap_ordered' at /kisskb/src/net/sctp/ulpqueue.c:927:4, inlined from 'sctp_ulpq_skip' at /kisskb/src/net/sctp/ulpqueue.c:962:2: /kisskb/src/include/linux/skbuff.h:1976:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1976 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/ulpqueue.c: In function 'sctp_ulpq_skip': /kisskb/src/net/sctp/ulpqueue.c:881:29: note: object 'temp' of size 24 881 | struct sk_buff_head temp; | ^~~~ /kisskb/src/kernel/trace/trace.c: In function 'tracer_alloc_buffers': /kisskb/src/kernel/trace/trace.c:9272:40: warning: comparison between two arrays [-Warray-compare] 9272 | if (__stop___trace_bprintk_fmt != __start___trace_bprintk_fmt) | ^~ /kisskb/src/kernel/trace/trace.c:9272:40: note: use '&__stop___trace_bprintk_fmt[0] != &__start___trace_bprintk_fmt[0]' to compare the addresses /kisskb/src/fs/udf/balloc.c: In function 'udf_add_free_space': /kisskb/src/fs/udf/balloc.c:101:43: warning: array subscript 65535 is outside the bounds of an interior zero-length array '__le32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 101 | le32_add_cpu(&lvid->freeSpaceTable[partition], cnt); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /kisskb/src/fs/udf/udfdecl.h:7, from /kisskb/src/fs/udf/balloc.c:22: /kisskb/src/fs/udf/ecma_167.h:360:33: note: while referencing 'freeSpaceTable' 360 | __le32 freeSpaceTable[0]; | ^~~~~~~~~~~~~~ /kisskb/src/fs/udf/balloc.c:101:43: warning: array subscript 65535 is outside the bounds of an interior zero-length array '__le32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 101 | le32_add_cpu(&lvid->freeSpaceTable[partition], cnt); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /kisskb/src/fs/udf/ecma_167.h:360:33: note: while referencing 'freeSpaceTable' 360 | __le32 freeSpaceTable[0]; | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/swab.h:5, from /kisskb/src/include/uapi/linux/byteorder/big_endian.h:13, from /kisskb/src/include/linux/byteorder/big_endian.h:5, from /kisskb/src/arch/powerpc/include/uapi/asm/byteorder.h:14, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/powerpc/include/asm/bitops.h:250, from /kisskb/src/include/linux/bitops.h:26, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/udf/udfdecl.h:10, from /kisskb/src/fs/udf/super.c:41: In function 'udf_count_free', inlined from 'udf_statfs' at /kisskb/src/fs/udf/super.c:2403:17: /kisskb/src/fs/udf/super.c:2505:61: warning: array subscript 65535 is outside the bounds of an interior zero-length array '__le32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 2505 | lvid->freeSpaceTable[sbi->s_partition]); /kisskb/src/include/uapi/linux/swab.h:114:54: note: in definition of macro '__swab32' 114 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ /kisskb/src/include/linux/byteorder/generic.h:89:21: note: in expansion of macro '__le32_to_cpu' 89 | #define le32_to_cpu __le32_to_cpu | ^~~~~~~~~~~~~ /kisskb/src/fs/udf/super.c:2504:33: note: in expansion of macro 'le32_to_cpu' 2504 | accum = le32_to_cpu( | ^~~~~~~~~~~ In file included from /kisskb/src/fs/udf/udfdecl.h:7: /kisskb/src/fs/udf/ecma_167.h: In function 'udf_statfs': /kisskb/src/fs/udf/ecma_167.h:360:33: note: while referencing 'freeSpaceTable' 360 | __le32 freeSpaceTable[0]; | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:37, from /kisskb/src/include/net/busy_poll.h:15, from /kisskb/src/net/sctp/stream_interleave.c:18: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:2009:2, inlined from 'sctp_intl_reap_ordered' at /kisskb/src/net/sctp/stream_interleave.c:1042:3: /kisskb/src/include/linux/skbuff.h:1976:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1976 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/stream_interleave.c: In function 'sctp_intl_reap_ordered': /kisskb/src/net/sctp/stream_interleave.c:1019:29: note: object 'temp' of size 24 1019 | struct sk_buff_head temp; | ^~~~ In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:2009:2, inlined from 'sctp_intl_reap_ordered' at /kisskb/src/net/sctp/stream_interleave.c:1053:4: /kisskb/src/include/linux/skbuff.h:1976:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1976 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/stream_interleave.c: In function 'sctp_intl_reap_ordered': /kisskb/src/net/sctp/stream_interleave.c:1019:29: note: object 'temp' of size 24 1019 | struct sk_buff_head temp; | ^~~~ /kisskb/src/kernel/extable.c: In function 'sort_main_extable': /kisskb/src/kernel/extable.c:37:59: warning: comparison between two arrays [-Warray-compare] 37 | if (main_extable_sort_needed && __stop___ex_table > __start___ex_table) { | ^ /kisskb/src/kernel/extable.c:37:59: note: use '&__stop___ex_table[0] > &__start___ex_table[0]' to compare the addresses /kisskb/src/drivers/rapidio/rio-sysfs.c: In function 'lnext_show': /kisskb/src/drivers/rapidio/rio-sysfs.c:75:51: warning: array subscript 255 is outside the bounds of an interior zero-length array 'struct rio_dev *[0]' [-Wzero-length-bounds] 75 | if (rdev->rswitch->nextdev[i]) | ~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /kisskb/src/drivers/rapidio/rio-sysfs.c:10: /kisskb/src/include/linux/rio.h:103:25: note: while referencing 'nextdev' 103 | struct rio_dev *nextdev[0]; | ^~~~~~~ /kisskb/src/drivers/rapidio/rio.c: In function 'rio_clr_err_stopped': /kisskb/src/drivers/rapidio/rio.c:1081:57: warning: array subscript 'pnum' is outside the bounds of an interior zero-length array 'struct rio_dev *[0]' [-Wzero-length-bounds] 1081 | struct rio_dev *nextdev = rdev->rswitch->nextdev[pnum]; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /kisskb/src/drivers/rapidio/rio.c:18: /kisskb/src/include/linux/rio.h:103:25: note: while referencing 'nextdev' 103 | struct rio_dev *nextdev[0]; | ^~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:37, from /kisskb/src/include/net/sock.h:46, from /kisskb/src/fs/io_uring.c:63: In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:2009:2, inlined from 'io_sqe_file_unregister' at /kisskb/src/fs/io_uring.c:4393:3, inlined from 'io_sqe_files_update' at /kisskb/src/fs/io_uring.c:4488:4, inlined from '__io_uring_register' at /kisskb/src/fs/io_uring.c:5473:9, inlined from '__do_sys_io_uring_register' at /kisskb/src/fs/io_uring.c:5516:8, inlined from '__se_sys_io_uring_register' at /kisskb/src/fs/io_uring.c:5498:1: /kisskb/src/include/linux/skbuff.h:1976:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1976 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/io_uring.c: In function '__se_sys_io_uring_register': /kisskb/src/fs/io_uring.c:4351:29: note: object 'list' of size 24 4351 | struct sk_buff_head list, *head = &sock->sk_receive_queue; | ^~~~ In function '__skb_queue_before', inlined from '__skb_queue_tail' at /kisskb/src/include/linux/skbuff.h:2009:2, inlined from 'io_sqe_file_unregister' at /kisskb/src/fs/io_uring.c:4383:5, inlined from 'io_sqe_files_update' at /kisskb/src/fs/io_uring.c:4488:4, inlined from '__io_uring_register' at /kisskb/src/fs/io_uring.c:5473:9, inlined from '__do_sys_io_uring_register' at /kisskb/src/fs/io_uring.c:5516:8, inlined from '__se_sys_io_uring_register' at /kisskb/src/fs/io_uring.c:5498:1: /kisskb/src/include/linux/skbuff.h:1976:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1976 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/io_uring.c: In function '__se_sys_io_uring_register': /kisskb/src/fs/io_uring.c:4351:29: note: object 'list' of size 24 4351 | struct sk_buff_head list, *head = &sock->sk_receive_queue; | ^~~~ In function 'serial_unlink_irq_chain', inlined from 'univ8250_release_irq' at /kisskb/src/drivers/tty/serial/8250/8250_core.c:350:3: /kisskb/src/drivers/tty/serial/8250/8250_core.c:248:9: warning: 'i' may be used uninitialized [-Wmaybe-uninitialized] 248 | serial_do_unlink(i, up); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:228:26: note: 'i' was declared here 228 | struct irq_info *i; | ^ In file included from /kisskb/src/include/linux/acpi.h:15, from /kisskb/src/include/linux/i2c.h:13, from /kisskb/src/include/uapi/linux/fb.h:6, from /kisskb/src/include/linux/fb.h:6, from /kisskb/src/drivers/video/fbdev/fsl-diu-fb.c:20: /kisskb/src/drivers/video/fbdev/fsl-diu-fb.c: In function 'fsl_diu_ioctl': /kisskb/src/include/linux/device.h:1776:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 1776 | _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/video/fbdev/fsl-diu-fb.c:1287:17: note: in expansion of macro 'dev_warn' 1287 | dev_warn(info->dev, | ^~~~~~~~ /kisskb/src/drivers/video/fbdev/fsl-diu-fb.c:1290:9: note: here 1290 | case MFB_SET_PIXFMT: | ^~~~ /kisskb/src/include/linux/device.h:1776:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 1776 | _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/video/fbdev/fsl-diu-fb.c:1296:17: note: in expansion of macro 'dev_warn' 1296 | dev_warn(info->dev, | ^~~~~~~~ /kisskb/src/drivers/video/fbdev/fsl-diu-fb.c:1299:9: note: here 1299 | case MFB_GET_PIXFMT: | ^~~~ /kisskb/src/drivers/usb/host/ehci-fsl.c: In function 'ehci_fsl_setup_phy': /kisskb/src/drivers/usb/host/ehci-fsl.c:212:35: warning: array subscript 1 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 212 | portsc = ehci_readl(ehci, &ehci->regs->port_status[port_offset]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/usb/host/ehci-fsl.c:20: /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-fsl.c:289:35: warning: array subscript 1 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 289 | ehci_writel(ehci, portsc, &ehci->regs->port_status[port_offset]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ In file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:305: /kisskb/src/drivers/usb/host/ehci-hub.c: In function 'ehci_hub_status_data': /kisskb/src/drivers/usb/host/ehci-hub.c:662:49: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 662 | temp = ehci_readl(ehci, &ehci->regs->port_status[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/usb/host/ehci.h:273, from /kisskb/src/drivers/usb/host/ehci-hcd.c:96: /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ In function 'ehci_port_handed_over', inlined from 'ehci_port_handed_over' at /kisskb/src/drivers/usb/host/ehci-hub.c:1324:12: /kisskb/src/drivers/usb/host/ehci-hub.c:1331:15: warning: array subscript '' is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 1331 | reg = &ehci->regs->port_status[portnum - 1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h: In function 'ehci_port_handed_over': /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c: In function 'set_owner': /kisskb/src/drivers/usb/host/ehci-hub.c:541:22: warning: array subscript 'portnum' is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 541 | status_reg = &ehci->regs->port_status[portnum]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c: In function 'ehci_port_power.isra': /kisskb/src/drivers/usb/host/ehci-hub.c:1338:35: warning: array subscript -3 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 1338 | u32 __iomem *status_reg = &ehci->regs->port_status[portnum]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ In function 'ehci_turn_off_all_ports', inlined from 'ehci_silence_controller' at /kisskb/src/drivers/usb/host/ehci-hcd.c:340:2: /kisskb/src/drivers/usb/host/ehci-hcd.c:326:33: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 326 | &ehci->regs->port_status[port]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h: In function 'ehci_silence_controller': /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hcd.c: In function 'ehci_irq': /kisskb/src/drivers/usb/host/ehci-hcd.c:786:42: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 786 | &ehci->regs->port_status[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c: In function 'ehci_hub_control': /kisskb/src/drivers/usb/host/ehci-hub.c:891:22: warning: array subscript 256 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 891 | status_reg = &ehci->regs->port_status[temp]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c:892:22: warning: array subscript 256 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 892 | hostpc_reg = &ehci->regs->hostpc[temp]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:184:25: note: while referencing 'hostpc' 184 | u32 hostpc[0]; /* HOSTPC extension */ | ^~~~~~ /kisskb/src/drivers/usb/host/ehci-hub.c:1281:49: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 1281 | &ehci->regs->port_status[ports]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/usb/ehci_def.h:130:25: note: while referencing 'port_status' 130 | u32 port_status[0]; /* up to N_PORTS */ | ^~~~~~~~~~~ make: *** [Makefile:179: sub-make] Error 2 Command 'make -s -j 40 ARCH=powerpc O=/kisskb/build/mpe_corenet64_smp_defconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/mpe_corenet64_smp_defconfig_powerpc-gcc12 # Build took: 0:01:33.527350