Buildresult: stable-5.2/m68k-defconfig/m68k-gcc11 built on Sep 14 2021, 20:40
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Sep 14 2021, 20:40
Duration:
0:02:27.623733
Builder:
blade4b
Revision:
Linux 5.2.21 (
e91ef5bcdeda8956eb9f1972ed90198b698dca0f)
Target:
stable-5.2/m68k-defconfig/m68k-gcc11
Branch:
stable-5.2
Compiler:
m68k-gcc11
(m68k-linux-gcc (GCC) 11.1.0 / GNU ld (GNU Binutils) 2.36.1)
Config:
defconfig
(
download
)
Log:
Download original
Possible warnings (79)
arch/m68k/mvme147/config.c:175:2: warning: #warning check me! [-Wcpp] 175 | #warning check me! arch/m68k/mvme16x/config.c:440:2: warning: #warning check me! [-Wcpp] 440 | #warning check me! include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1948:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] arch/m68k/include/asm/cmpxchg.h:137:10: warning: value computed is not used [-Wunused-value] 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] 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] arch/m68k/include/asm/cmpxchg.h:137:10: warning: value computed is not used [-Wunused-value] include/linux/skbuff.h:1948:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 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] drivers/net/ethernet/8390/lib8390.c:988:27: warning: '____alloc_ei_netdev' defined but not used [-Wunused-function] drivers/net/ethernet/8390/lib8390.c:950:13: warning: '__ei_set_multicast_list' defined but not used [-Wunused-function] drivers/net/ethernet/8390/lib8390.c:850:33: warning: '__ei_get_stats' defined but not used [-Wunused-function] drivers/net/ethernet/8390/lib8390.c:509:13: warning: '__ei_poll' defined but not used [-Wunused-function] drivers/net/ethernet/8390/lib8390.c:300:20: warning: '__ei_start_xmit' defined but not used [-Wunused-function] drivers/net/ethernet/8390/lib8390.c:254:13: warning: '__ei_tx_timeout' defined but not used [-Wunused-function] drivers/net/ethernet/8390/lib8390.c:230:12: warning: '__ei_close' defined but not used [-Wunused-function] drivers/net/ethernet/8390/lib8390.c:201:12: warning: '__ei_open' defined but not used [-Wunused-function] 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] 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] arch/m68k/include/asm/cmpxchg.h:79:22: warning: value computed is not used [-Wunused-value] arch/m68k/include/asm/string.h:72:25: warning: '__builtin_memcpy' offset [0, 5] is out of the bounds [0, 0] [-Warray-bounds] fs/udf/super.c:2462:61: warning: array subscript 65535 is outside the bounds of an interior zero-length array '__le32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] include/linux/skbuff.h:1857:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] arch/m68k/include/asm/cmpxchg.h:137:10: warning: value computed is not used [-Wunused-value] include/linux/skbuff.h:1948:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1857:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1857:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1854:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1857:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1948:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1948:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] cc1: warning: function may return address of local variable [-Wreturn-local-addr] net/netfilter/nf_conntrack_core.c:1384:16: warning: array subscript 0 is outside the bounds of an interior zero-length array 'u8[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1948:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1948:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1854:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1854:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1854:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1857:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] include/linux/skbuff.h:1948:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct xfrm_trans_tasklet[1]' [-Warray-bounds] include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct xfrm_trans_tasklet[1]' [-Warray-bounds] include/linux/skbuff.h:1854:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds]
Full Log
# git rev-parse -q --verify e91ef5bcdeda8956eb9f1972ed90198b698dca0f^{commit} e91ef5bcdeda8956eb9f1972ed90198b698dca0f already have revision, skipping fetch # git checkout -q -f -B kisskb e91ef5bcdeda8956eb9f1972ed90198b698dca0f # git clean -qxdf # < git log -1 # commit e91ef5bcdeda8956eb9f1972ed90198b698dca0f # Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org> # Date: Fri Oct 11 18:22:37 2019 +0200 # # Linux 5.2.21 # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 e91ef5bcdeda8956eb9f1972ed90198b698dca0f # < make -s -j 24 ARCH=m68k O=/kisskb/build/stable-5.2_m68k-defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- defconfig # < make -s -j 24 ARCH=m68k O=/kisskb/build/stable-5.2_m68k-defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 24 ARCH=m68k O=/kisskb/build/stable-5.2_m68k-defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 24 ARCH=m68k O=/kisskb/build/stable-5.2_m68k-defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- /kisskb/src/arch/m68k/mvme147/config.c: In function 'mvme147_hwclk': /kisskb/src/arch/m68k/mvme147/config.c:175:2: warning: #warning check me! [-Wcpp] 175 | #warning check me! | ^~~~~~~ /kisskb/src/arch/m68k/mvme16x/config.c: In function 'mvme16x_hwclk': /kisskb/src/arch/m68k/mvme16x/config.c:440:2: warning: #warning check me! [-Wcpp] 440 | #warning check me! | ^~~~~~~ In file included from /kisskb/src/drivers/block/aoe/aoechr.c:13: /kisskb/src/drivers/block/aoe/aoechr.c: In function 'aoechr_write': /kisskb/src/include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/block/aoe/aoechr.c:117:37: note: while referencing 'queue' 117 | struct sk_buff_head queue; | ^~~~~ In file included from /kisskb/src/drivers/block/aoe/aoechr.c:13: /kisskb/src/include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/block/aoe/aoechr.c:117:37: note: while referencing 'queue' 117 | struct sk_buff_head queue; | ^~~~~ In file included from /kisskb/src/drivers/block/aoe/aoecmd.c:11: /kisskb/src/drivers/block/aoe/aoecmd.c: In function 'resend': /kisskb/src/include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/block/aoe/aoecmd.c:455:29: note: while referencing 'queue' 455 | struct sk_buff_head queue; | ^~~~~ In file included from /kisskb/src/drivers/block/aoe/aoecmd.c:11: /kisskb/src/include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/block/aoe/aoecmd.c:455:29: note: while referencing 'queue' 455 | struct sk_buff_head queue; | ^~~~~ In file included from /kisskb/src/drivers/block/aoe/aoecmd.c:11: /kisskb/src/drivers/block/aoe/aoecmd.c: In function 'probe': /kisskb/src/include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/block/aoe/aoecmd.c:585:29: note: while referencing 'queue' 585 | struct sk_buff_head queue; | ^~~~~ In file included from /kisskb/src/drivers/block/aoe/aoecmd.c:11: /kisskb/src/include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/block/aoe/aoecmd.c:585:29: note: while referencing 'queue' 585 | struct sk_buff_head queue; | ^~~~~ In file included from /kisskb/src/drivers/block/aoe/aoecmd.c:11: /kisskb/src/drivers/block/aoe/aoecmd.c: In function 'aoecmd_work': /kisskb/src/include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/block/aoe/aoecmd.c:374:29: note: while referencing 'queue' 374 | struct sk_buff_head queue; | ^~~~~ In file included from /kisskb/src/drivers/block/aoe/aoecmd.c:11: /kisskb/src/include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/block/aoe/aoecmd.c:374:29: note: while referencing 'queue' 374 | struct sk_buff_head queue; | ^~~~~ In file included from /kisskb/src/drivers/block/aoe/aoecmd.c:11: /kisskb/src/drivers/block/aoe/aoecmd.c: In function 'aoecmd_cfg': /kisskb/src/include/linux/skbuff.h:1948:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1948 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/block/aoe/aoecmd.c:1369:29: note: while referencing 'queue' 1369 | struct sk_buff_head queue; | ^~~~~ In file included from /kisskb/src/drivers/block/aoe/aoecmd.c:11: /kisskb/src/include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/block/aoe/aoecmd.c:1369:29: note: while referencing 'queue' 1369 | struct sk_buff_head queue; | ^~~~~ In file included from /kisskb/src/drivers/block/aoe/aoecmd.c:11: /kisskb/src/drivers/block/aoe/aoecmd.c: In function 'aoecmd_cfg_rsp': /kisskb/src/include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/block/aoe/aoecmd.c:1533:29: note: while referencing 'queue' 1533 | struct sk_buff_head queue; | ^~~~~ In file included from /kisskb/src/drivers/block/aoe/aoecmd.c:11: /kisskb/src/include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/block/aoe/aoecmd.c:1533:29: note: while referencing 'queue' 1533 | struct sk_buff_head queue; | ^~~~~ In file included from /kisskb/src/arch/m68k/include/asm/atomic.h:7, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/linux/spinlock.h:445, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/kernel/acct.c:47: /kisskb/src/kernel/acct.c: In function 'acct_pin_kill': /kisskb/src/arch/m68k/include/asm/cmpxchg.h:137:10: warning: value computed is not used [-Wunused-value] 137 | ((__typeof__(*(ptr)))__cmpxchg_local_generic((ptr), (unsigned long)(o),\ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | (unsigned long)(n), sizeof(*(ptr)))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/cmpxchg.h:106:33: note: in expansion of macro 'cmpxchg_local' 106 | #define cmpxchg(ptr, o, n) cmpxchg_local((ptr), (o), (n)) | ^~~~~~~~~~~~~ /kisskb/src/kernel/acct.c:177:9: note: in expansion of macro 'cmpxchg' 177 | cmpxchg(&acct->ns->bacct, pin, NULL); | ^~~~~~~ /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); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ 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 | ^~~~~~~~ In file included from /kisskb/src/arch/m68k/include/asm/atomic.h:7, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/linux/spinlock.h:445, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/net/core/filter.c:20: /kisskb/src/net/core/filter.c: In function 'bpf_clear_redirect_map': /kisskb/src/arch/m68k/include/asm/cmpxchg.h:137:10: warning: value computed is not used [-Wunused-value] 137 | ((__typeof__(*(ptr)))__cmpxchg_local_generic((ptr), (unsigned long)(o),\ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | (unsigned long)(n), sizeof(*(ptr)))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/cmpxchg.h:106:33: note: in expansion of macro 'cmpxchg_local' 106 | #define cmpxchg(ptr, o, n) cmpxchg_local((ptr), (o), (n)) | ^~~~~~~~~~~~~ /kisskb/src/net/core/filter.c:3600:25: note: in expansion of macro 'cmpxchg' 3600 | cmpxchg(&ri->map, map, NULL); | ^~~~~~~ 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/net/core/netpoll.c:17: /kisskb/src/net/core/netpoll.c: In function 'refill_skbs': /kisskb/src/include/linux/skbuff.h:1948:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1948 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/netpoll.c:48:28: note: while referencing 'skb_pool' 48 | static struct sk_buff_head skb_pool; | ^~~~~~~~ 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/net/core/netpoll.c:17: /kisskb/src/include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/netpoll.c:48:28: note: while referencing 'skb_pool' 48 | static struct sk_buff_head skb_pool; | ^~~~~~~~ /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:967:23: note: while referencing 'f_handle' 967 | unsigned char f_handle[0]; | ^~~~~~~~ In file included from /kisskb/src/drivers/net/ethernet/8390/xsurf100.c:48: /kisskb/src/drivers/net/ethernet/8390/lib8390.c:988:27: warning: '____alloc_ei_netdev' defined but not used [-Wunused-function] 988 | static struct net_device *____alloc_ei_netdev(int size) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:950:13: warning: '__ei_set_multicast_list' defined but not used [-Wunused-function] 950 | static void __ei_set_multicast_list(struct net_device *dev) | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:850:33: warning: '__ei_get_stats' defined but not used [-Wunused-function] 850 | static struct net_device_stats *__ei_get_stats(struct net_device *dev) | ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:509:13: warning: '__ei_poll' defined but not used [-Wunused-function] 509 | static void __ei_poll(struct net_device *dev) | ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:300:20: warning: '__ei_start_xmit' defined but not used [-Wunused-function] 300 | static netdev_tx_t __ei_start_xmit(struct sk_buff *skb, | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:254:13: warning: '__ei_tx_timeout' defined but not used [-Wunused-function] 254 | static void __ei_tx_timeout(struct net_device *dev) | ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:230:12: warning: '__ei_close' defined but not used [-Wunused-function] 230 | static int __ei_close(struct net_device *dev) | ^~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:201:12: warning: '__ei_open' defined but not used [-Wunused-function] 201 | static int __ei_open(struct net_device *dev) | ^~~~~~~~~ /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:346:33: note: while referencing 'freeSpaceTable' 346 | __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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 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:346:33: note: while referencing 'freeSpaceTable' 346 | __le32 freeSpaceTable[0]; | ^~~~~~~~~~~~~~ In file included from /kisskb/src/arch/m68k/include/asm/atomic.h:7, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/linux/spinlock.h:445, from /kisskb/src/include/linux/wait.h:9, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/ocfs2/file.c:13: /kisskb/src/fs/ocfs2/file.c: In function 'ocfs2_file_write_iter': /kisskb/src/arch/m68k/include/asm/cmpxchg.h:79:22: warning: value computed is not used [-Wunused-value] 79 | #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ocfs2/file.c:2372:17: note: in expansion of macro 'xchg' 2372 | xchg(&iocb->ki_complete, saved_ki_complete); | ^~~~ In file included from /kisskb/src/include/linux/string.h:20, from /kisskb/src/include/linux/bitmap.h:9, from /kisskb/src/include/linux/nodemask.h:95, from /kisskb/src/include/linux/mmzone.h:17, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/include/linux/module.h:13, from /kisskb/src/drivers/net/ethernet/i825xx/82596.c:43: /kisskb/src/drivers/net/ethernet/i825xx/82596.c: In function 'i82596_probe': /kisskb/src/arch/m68k/include/asm/string.h:72:25: warning: '__builtin_memcpy' offset [0, 5] is out of the bounds [0, 0] [-Warray-bounds] 72 | #define memcpy(d, s, n) __builtin_memcpy(d, s, n) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/i825xx/82596.c:1158:17: note: in expansion of macro 'memcpy' 1158 | memcpy(eth_addr, (void *) 0xfffc1f2c, ETH_ALEN); /* YUCK! Get addr from NOVRAM */ | ^~~~~~ 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/m68k/include/uapi/asm/byteorder.h:5, from /kisskb/src/include/asm-generic/bitops/le.h:6, from /kisskb/src/arch/m68k/include/asm/bitops.h:528, from /kisskb/src/include/linux/bitops.h:19, 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: /kisskb/src/fs/udf/super.c: In function 'udf_statfs': /kisskb/src/fs/udf/super.c:2462:61: warning: array subscript 65535 is outside the bounds of an interior zero-length array '__le32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 2462 | lvid->freeSpaceTable[sbi->s_partition]); /kisskb/src/include/uapi/linux/swab.h:117:39: note: in definition of macro '__swab32' 117 | (__builtin_constant_p((__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:2461:33: note: in expansion of macro 'le32_to_cpu' 2461 | accum = le32_to_cpu( | ^~~~~~~~~~~ In file included from /kisskb/src/fs/udf/udfdecl.h:7, from /kisskb/src/fs/udf/super.c:41: /kisskb/src/fs/udf/ecma_167.h:346:33: note: while referencing 'freeSpaceTable' 346 | __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/drivers/net/ipvlan/ipvlan.h:14, from /kisskb/src/drivers/net/ipvlan/ipvlan_core.c:5: /kisskb/src/drivers/net/ipvlan/ipvlan_core.c: In function 'ipvlan_process_multicast': /kisskb/src/include/linux/skbuff.h:1857:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1857 | next->prev = last; | ~~~~~~~~~~~^~~~~~ /kisskb/src/drivers/net/ipvlan/ipvlan_core.c:231:29: note: while referencing 'list' 231 | struct sk_buff_head list; | ^~~~ In file included from /kisskb/src/arch/m68k/include/asm/atomic.h:7, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/linux/spinlock.h:445, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/fs/posix_acl.c:15: /kisskb/src/fs/posix_acl.c: In function 'get_acl': /kisskb/src/arch/m68k/include/asm/cmpxchg.h:137:10: warning: value computed is not used [-Wunused-value] 137 | ((__typeof__(*(ptr)))__cmpxchg_local_generic((ptr), (unsigned long)(o),\ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | (unsigned long)(n), sizeof(*(ptr)))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/asm-generic/cmpxchg.h:106:33: note: in expansion of macro 'cmpxchg_local' 106 | #define cmpxchg(ptr, o, n) cmpxchg_local((ptr), (o), (n)) | ^~~~~~~~~~~~~ /kisskb/src/fs/posix_acl.c:148:17: note: in expansion of macro 'cmpxchg' 148 | cmpxchg(p, sentinel, ACL_NOT_CACHED); | ^~~~~~~ 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: /kisskb/src/net/ipv4/tcp_input.c: In function 'tcp_collapse': /kisskb/src/include/linux/skbuff.h:1948:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1948 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ipv4/tcp_input.c:4861:29: note: while referencing 'tmp' 4861 | struct sk_buff_head tmp; | ^~~ 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: /kisskb/src/include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/ipv4/tcp_input.c:4861:29: note: while referencing 'tmp' 4861 | struct sk_buff_head tmp; | ^~~ 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/drivers/net/macvlan.c:21: /kisskb/src/drivers/net/macvlan.c: In function 'macvlan_process_broadcast': /kisskb/src/include/linux/skbuff.h:1857:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1857 | next->prev = last; | ~~~~~~~~~~~^~~~~~ /kisskb/src/drivers/net/macvlan.c:299:29: note: while referencing 'list' 299 | struct sk_buff_head list; | ^~~~ In file included from /kisskb/src/drivers/net/tun.c:44: /kisskb/src/drivers/net/tun.c: In function 'tun_napi_poll': /kisskb/src/include/linux/skbuff.h:1857:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1857 | next->prev = last; | ~~~~~~~~~~~^~~~~~ /kisskb/src/drivers/net/tun.c:275:29: note: while referencing 'process_queue' 275 | struct sk_buff_head process_queue; | ^~~~~~~~~~~~~ In file included from /kisskb/src/drivers/net/tun.c:44: /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/include/linux/skbuff.h:1854:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1854 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/drivers/net/tun.c:1547:29: note: while referencing 'process_queue' 1547 | struct sk_buff_head process_queue; | ^~~~~~~~~~~~~ In file included from /kisskb/src/drivers/net/tun.c:44: /kisskb/src/include/linux/skbuff.h:1857:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1857 | next->prev = last; | ~~~~~~~~~~~^~~~~~ /kisskb/src/drivers/net/tun.c:1547:29: note: while referencing 'process_queue' 1547 | struct sk_buff_head process_queue; | ^~~~~~~~~~~~~ In file included from /kisskb/src/net/sctp/ulpqueue.c:24: /kisskb/src/net/sctp/ulpqueue.c: In function 'sctp_ulpq_reasm_drain.part.0': /kisskb/src/include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/sctp/ulpqueue.c:725:37: note: while referencing 'temp' 725 | struct sk_buff_head temp; | ^~~~ In file included from /kisskb/src/net/sctp/ulpqueue.c:24: /kisskb/src/include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/ulpqueue.c:725:37: note: while referencing 'temp' 725 | struct sk_buff_head temp; | ^~~~ In file included from /kisskb/src/net/sctp/ulpqueue.c:24: /kisskb/src/net/sctp/ulpqueue.c: In function 'sctp_ulpq_tail_data': /kisskb/src/include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/sctp/ulpqueue.c:88:29: note: while referencing 'temp' 88 | struct sk_buff_head temp; | ^~~~ In file included from /kisskb/src/net/sctp/ulpqueue.c:24: /kisskb/src/include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/ulpqueue.c:88:29: note: while referencing 'temp' 88 | struct sk_buff_head temp; | ^~~~ In file included from /kisskb/src/net/sctp/ulpqueue.c:24: /kisskb/src/net/sctp/ulpqueue.c: In function 'sctp_ulpq_skip': /kisskb/src/include/linux/skbuff.h:1948:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1948 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/ulpqueue.c:881:29: note: while referencing 'temp' 881 | struct sk_buff_head temp; | ^~~~ In file included from /kisskb/src/net/sctp/ulpqueue.c:24: /kisskb/src/include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/ulpqueue.c:881:29: note: while referencing 'temp' 881 | struct sk_buff_head temp; | ^~~~ In file included from /kisskb/src/net/sctp/ulpqueue.c:24: /kisskb/src/include/linux/skbuff.h:1948:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1948 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/ulpqueue.c:881:29: note: while referencing 'temp' 881 | struct sk_buff_head temp; | ^~~~ In file included from /kisskb/src/net/sctp/ulpqueue.c:24: /kisskb/src/include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/ulpqueue.c:881:29: note: while referencing 'temp' 881 | struct sk_buff_head temp; | ^~~~ In file included from /kisskb/src/net/sctp/ulpqueue.c:24: /kisskb/src/net/sctp/ulpqueue.c: In function 'sctp_ulpq_partial_delivery': /kisskb/src/include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/sctp/ulpqueue.c:1064:45: note: while referencing 'temp' 1064 | struct sk_buff_head temp; | ^~~~ In file included from /kisskb/src/net/sctp/ulpqueue.c:24: /kisskb/src/include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/ulpqueue.c:1064:45: note: while referencing 'temp' 1064 | struct sk_buff_head temp; | ^~~~ /kisskb/src/net/netfilter/nfnetlink_osf.c: In function 'nf_osf_hdr_ctx_init': cc1: warning: function may return address of local variable [-Wreturn-local-addr] /kisskb/src/net/netfilter/nfnetlink_osf.c:172:23: note: declared here 172 | struct tcphdr _tcph; | ^~~~~ In file included from /kisskb/src/include/linux/string.h:20, from /kisskb/src/include/linux/bitmap.h:9, from /kisskb/src/include/linux/cpumask.h:12, from /kisskb/src/include/linux/rcupdate.h:31, from /kisskb/src/include/linux/rbtree.h:22, from /kisskb/src/include/linux/skbuff.h:18, from /kisskb/src/include/linux/netfilter.h:6, from /kisskb/src/net/netfilter/nf_conntrack_core.c:15: /kisskb/src/net/netfilter/nf_conntrack_core.c: In function '__nf_conntrack_alloc': /kisskb/src/net/netfilter/nf_conntrack_core.c:1384:16: warning: array subscript 0 is outside the bounds of an interior zero-length array 'u8[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] 1384 | memset(&ct->__nfct_init_offset[0], 0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/m68k/include/asm/string.h:68:42: note: in definition of macro 'memset' 68 | #define memset(d, c, n) __builtin_memset(d, c, n) | ^ In file included from /kisskb/src/net/netfilter/nf_conntrack_core.c:37: /kisskb/src/include/net/netfilter/nf_conntrack.h:93:12: note: while referencing '__nfct_init_offset' 93 | u8 __nfct_init_offset[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: /kisskb/src/net/sctp/stream_interleave.c: In function 'do_ulpq_tail_event': /kisskb/src/include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/sctp/stream_interleave.c:1301:29: note: while referencing 'temp' 1301 | struct sk_buff_head temp; | ^~~~ 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: /kisskb/src/include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/stream_interleave.c:1301:29: note: while referencing 'temp' 1301 | struct sk_buff_head temp; | ^~~~ 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: /kisskb/src/net/sctp/stream_interleave.c: In function 'sctp_intl_reap_ordered': /kisskb/src/include/linux/skbuff.h:1948:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1948 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/stream_interleave.c:1019:29: note: while referencing 'temp' 1019 | struct sk_buff_head temp; | ^~~~ 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: /kisskb/src/include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/stream_interleave.c:1019:29: note: while referencing 'temp' 1019 | struct sk_buff_head temp; | ^~~~ 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: /kisskb/src/include/linux/skbuff.h:1948:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1948 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/stream_interleave.c:1019:29: note: while referencing 'temp' 1019 | struct sk_buff_head temp; | ^~~~ 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: /kisskb/src/include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/stream_interleave.c:1019:29: note: while referencing 'temp' 1019 | struct sk_buff_head temp; | ^~~~ 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: /kisskb/src/net/sctp/stream_interleave.c: In function 'do_sctp_enqueue_event': /kisskb/src/include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/sctp/stream_interleave.c:1330:29: note: while referencing 'temp' 1330 | struct sk_buff_head temp; | ^~~~ 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: /kisskb/src/include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/stream_interleave.c:1330:29: note: while referencing 'temp' 1330 | struct sk_buff_head temp; | ^~~~ 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: /kisskb/src/net/sctp/stream_interleave.c: In function 'sctp_intl_start_pd': /kisskb/src/include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/sctp/stream_interleave.c:938:29: note: while referencing 'temp' 938 | struct sk_buff_head temp; | ^~~~ 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: /kisskb/src/include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/stream_interleave.c:938:29: note: while referencing 'temp' 938 | struct sk_buff_head temp; | ^~~~ 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: /kisskb/src/include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/sctp/stream_interleave.c:938:29: note: while referencing 'temp' 938 | struct sk_buff_head temp; | ^~~~ 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: /kisskb/src/include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/stream_interleave.c:938:29: note: while referencing 'temp' 938 | struct sk_buff_head temp; | ^~~~ 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: /kisskb/src/net/sctp/stream_interleave.c: In function 'sctp_ulpevent_idata': /kisskb/src/include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/sctp/stream_interleave.c:832:29: note: while referencing 'temp' 832 | struct sk_buff_head temp; | ^~~~ 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: /kisskb/src/include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/stream_interleave.c:832:29: note: while referencing 'temp' 832 | struct sk_buff_head temp; | ^~~~ 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: /kisskb/src/include/linux/skbuff.h:1842:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/sctp/stream_interleave.c:832:29: note: while referencing 'temp' 832 | struct sk_buff_head temp; | ^~~~ 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: /kisskb/src/include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/sctp/stream_interleave.c:832:29: note: while referencing 'temp' 832 | struct sk_buff_head temp; | ^~~~ 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/net/xfrm/xfrm_policy.c:24: /kisskb/src/net/xfrm/xfrm_policy.c: In function 'xfrm_policy_requeue': /kisskb/src/include/linux/skbuff.h:1854:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1854 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/xfrm/xfrm_policy.c:1411:29: note: while referencing 'list' 1411 | struct sk_buff_head list; | ^~~~ 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/net/xfrm/xfrm_policy.c:24: /kisskb/src/net/xfrm/xfrm_policy.c: In function 'xfrm_policy_queue_process': /kisskb/src/include/linux/skbuff.h:1854:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1854 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/xfrm/xfrm_policy.c:2764:29: note: while referencing 'list' 2764 | struct sk_buff_head list; | ^~~~ 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/net/xfrm/xfrm_input.c:16: /kisskb/src/net/xfrm/xfrm_input.c: In function 'xfrm_trans_reinject': /kisskb/src/include/linux/skbuff.h:1854:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1854 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/xfrm/xfrm_input.c:758:29: note: while referencing 'queue' 758 | struct sk_buff_head queue; | ^~~~~ 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/net/xfrm/xfrm_input.c:16: /kisskb/src/include/linux/skbuff.h:1857:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1857 | next->prev = last; | ~~~~~~~~~~~^~~~~~ /kisskb/src/net/xfrm/xfrm_input.c:758:29: note: while referencing 'queue' 758 | struct sk_buff_head queue; | ^~~~~ 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/net/xfrm/xfrm_input.c:16: /kisskb/src/net/xfrm/xfrm_input.c: In function 'xfrm_trans_queue': /kisskb/src/include/linux/skbuff.h:1948:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct xfrm_trans_tasklet[1]' [-Warray-bounds] 1948 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/percpu.h:7, from ./arch/m68k/include/generated/asm/percpu.h:1, from /kisskb/src/include/linux/percpu.h:13, from /kisskb/src/include/linux/context_tracking_state.h:5, from /kisskb/src/include/linux/vtime.h:5, from /kisskb/src/include/linux/hardirq.h:8, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/net/xfrm/xfrm_input.c:13: /kisskb/src/net/xfrm/xfrm_input.c:49:50: note: while referencing 'xfrm_trans_tasklet' 49 | static DEFINE_PER_CPU(struct xfrm_trans_tasklet, xfrm_trans_tasklet); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:104:44: note: in definition of macro 'DEFINE_PER_CPU_SECTION' 104 | __PCPU_ATTRS(sec) __typeof__(type) name | ^~~~ /kisskb/src/net/xfrm/xfrm_input.c:49:8: note: in expansion of macro 'DEFINE_PER_CPU' 49 | static DEFINE_PER_CPU(struct xfrm_trans_tasklet, xfrm_trans_tasklet); | ^~~~~~~~~~~~~~ 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/net/xfrm/xfrm_input.c:16: /kisskb/src/include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct xfrm_trans_tasklet[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/percpu.h:7, from ./arch/m68k/include/generated/asm/percpu.h:1, from /kisskb/src/include/linux/percpu.h:13, from /kisskb/src/include/linux/context_tracking_state.h:5, from /kisskb/src/include/linux/vtime.h:5, from /kisskb/src/include/linux/hardirq.h:8, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/net/xfrm/xfrm_input.c:13: /kisskb/src/net/xfrm/xfrm_input.c:49:50: note: while referencing 'xfrm_trans_tasklet' 49 | static DEFINE_PER_CPU(struct xfrm_trans_tasklet, xfrm_trans_tasklet); | ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/percpu-defs.h:104:44: note: in definition of macro 'DEFINE_PER_CPU_SECTION' 104 | __PCPU_ATTRS(sec) __typeof__(type) name | ^~~~ /kisskb/src/net/xfrm/xfrm_input.c:49:8: note: in expansion of macro 'DEFINE_PER_CPU' 49 | static DEFINE_PER_CPU(struct xfrm_trans_tasklet, xfrm_trans_tasklet); | ^~~~~~~~~~~~~~ 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/net/xfrm/xfrm_device.c:13: /kisskb/src/net/xfrm/xfrm_device.c: In function 'xfrm_dev_backlog': /kisskb/src/include/linux/skbuff.h:1854:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1854 | prev->next = first; | ~~~~~~~~~~~^~~~~~~ /kisskb/src/net/xfrm/xfrm_device.c:324:29: note: while referencing 'list' 324 | struct sk_buff_head list; | ^~~~ Completed OK # rm -rf /kisskb/build/stable-5.2_m68k-defconfig_m68k-gcc11 # Build took: 0:02:27.623733
© Michael Ellerman 2006-2018.