Buildresult: stable-5.2/arm64-defconfig/arm64-gcc11 built on Sep 14 2021, 19:12
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Sep 14 2021, 19:12
Duration:
0:12:20.132562
Builder:
ka3
Revision:
Linux 5.2.21 (
e91ef5bcdeda8956eb9f1972ed90198b698dca0f)
Target:
stable-5.2/arm64-defconfig/arm64-gcc11
Branch:
stable-5.2
Compiler:
arm64-gcc11
(aarch64-linux-gcc (GCC) 11.1.0 / GNU ld (GNU Binutils) 2.36.1)
Config:
defconfig
(
download
)
Log:
Download original
Possible warnings (205)
arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] kernel/time/timer.c:965:34: warning: 'timer.timer.expires' may be used uninitialized [-Wmaybe-uninitialized] arch/arm64/kvm/sys_regs.c:979:47: warning: 'params.Op2' may be used uninitialized in this function [-Wmaybe-uninitialized] arch/arm64/kvm/sys_regs.c:979:32: warning: 'params.CRm' may be used uninitialized in this function [-Wmaybe-uninitialized] arch/arm64/kvm/sys_regs.c:979:17: warning: 'params.CRn' may be used uninitialized in this function [-Wmaybe-uninitialized] arch/arm64/kvm/sys_regs.c:978:32: warning: 'params.Op1' may be used uninitialized in this function [-Wmaybe-uninitialized] arch/arm64/kvm/sys_regs.c:978:17: warning: 'params.Op0' may be used uninitialized in this function [-Wmaybe-uninitialized] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] kernel/time/posix-cpu-timers.c:1019:17: warning: 'now' may be used uninitialized [-Wmaybe-uninitialized] kernel/time/posix-cpu-timers.c:763:17: warning: 'now' may be used uninitialized [-Wmaybe-uninitialized] 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] sound/pci/hda/hda_codec.c:219:17: warning: 'list' may be used uninitialized in this function [-Wmaybe-uninitialized] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] net/bluetooth/ecdh_helper.c:122:55: warning: argument 2 of type 'const u8[32]' {aka 'const unsigned char[32]'} with mismatched bound [-Warray-parameter=] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] crypto/ecc.c:1495:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] mm/hugetlb.c:3967:47: warning: expression does not compute the number of elements in this array; element type is 'long unsigned int', not 'u32' {aka 'unsigned int'} [-Wsizeof-array-div] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] mm/mempolicy.c:2893:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] mm/mempolicy.c:2893:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] mm/mempolicy.c:2893:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] mm/mempolicy.c:2893:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] mm/mempolicy.c:2893:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] mm/mempolicy.c:2893:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] mm/mempolicy.c:2893:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] fs/ext4/ext4_extents.h:227:19: warning: 'zero_ex2.ee_start_hi' may be used uninitialized [-Wmaybe-uninitialized] fs/ext4/ext4_extents.h:226:15: warning: 'zero_ex2.ee_start_lo' may be used uninitialized [-Wmaybe-uninitialized] fs/ext4/ext4_extents.h:226:15: warning: 'zero_ex1.ee_start_lo' may be used uninitialized in this function [-Wmaybe-uninitialized] fs/ext4/ext4_extents.h:227:19: warning: 'zero_ex1.ee_start_hi' may be used uninitialized in this function [-Wmaybe-uninitialized] fs/ext4/extents.c:3212:16: warning: 'zero_ex1.ee_block' may be used uninitialized in this function [-Wmaybe-uninitialized] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[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: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] 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: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] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[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] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[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] include/linux/skbuff.h:1948:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct ieee80211_tx_data[1]' [-Warray-bounds] include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct ieee80211_tx_data[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: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] drivers/input/mouse/synaptics.c:995:9: warning: 'pos' may be used uninitialized [-Wmaybe-uninitialized] drivers/input/mouse/cypress_ps2.c:536:9: warning: 'pos' may be used uninitialized [-Wmaybe-uninitialized] 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:1938: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: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: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: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:1938: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:34: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/net/usb/lan78xx.c:602:33: warning: 'lan78xx_stats' may be used uninitialized [-Wmaybe-uninitialized] drivers/net/usb/lan78xx.c:602:33: warning: 'lan78xx_stats' may be used uninitialized [-Wmaybe-uninitialized] 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:1938: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: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: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:1854:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/net/wireless/ath/ath10k/htt_rx.c:2684:53: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct htt_tx_fetch_record[0]' [-Wzero-length-bounds] drivers/net/wireless/ath/ath10k/htt_rx.c:2684:53: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct htt_tx_fetch_record[0]' [-Wzero-length-bounds] drivers/net/wireless/ath/ath10k/htt_rx.c:2684:53: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct htt_tx_fetch_record[0]' [-Wzero-length-bounds] drivers/net/wireless/ath/ath10k/htt_rx.c:2684:53: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct htt_tx_fetch_record[0]' [-Wzero-length-bounds] drivers/net/wireless/ath/ath10k/htt_rx.c:2684:53: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct htt_tx_fetch_record[0]' [-Wzero-length-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: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: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: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: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: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: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] drivers/pinctrl/freescale/pinctrl-scu.c:65:23: warning: array subscript 'struct imx_sc_msg_resp_pad_get[0]' is partly outside array bounds of 'struct imx_sc_msg_req_pad_get[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: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] drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:86:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:86:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:86:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:86:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:86:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:86:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:86:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:86:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:86:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:86:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] drivers/net/wireless/ti/wlcore/boot.c:113:25: warning: 'snprintf' argument 4 overlaps destination object 'min_fw_str' [-Wrestrict] drivers/net/wireless/ti/wlcore/boot.c:110:25: warning: 'snprintf' argument 4 overlaps destination object 'min_fw_str' [-Wrestrict] include/linux/kernel.h:974:10: warning: array subscript -46 is outside array bounds of 'struct list_head[1]' [-Warray-bounds] include/linux/kernel.h:974:10: warning: array subscript -46 is outside array bounds of 'struct list_head[1]' [-Warray-bounds] include/linux/kernel.h:974:10: warning: array subscript -46 is outside array bounds of 'struct list_head[1]' [-Warray-bounds] include/linux/kernel.h:974:10: warning: array subscript -46 is outside array bounds of 'struct list_head[1]' [-Warray-bounds] drivers/rpmsg/qcom_glink_native.c:1406:17: warning: 'strncpy' offset 24 from the object at '__mptr' is out of the bounds of referenced subobject 'data' with type 'u8[]' {aka 'unsigned char[]'} at offset 24 [-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: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:1938: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: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: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:1857:20: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] drivers/scsi/libsas/sas_task.c:21:44: warning: array subscript 3 is outside the bounds of an interior zero-length array 'u8[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] drivers/usb/chipidea/host.c:241:22: warning: array subscript 254 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/chipidea/host.c:312:36: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 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] 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] drivers/usb/host/ehci-hub.c:1331:15: warning: array subscript '<unknown>' is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:167:55: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:199:55: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:141:38: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:179:40: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:1338:35: warning: array subscript 'portnum' is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 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] 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] 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] drivers/usb/host/ehci-hub.c:427:41: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:447:57: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:110:31: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:73:31: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:59:31: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:488:41: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:491:49: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:464:41: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:471:41: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 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] drivers/usb/host/ehci-hub.c:320:55: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] drivers/usb/host/ehci-hub.c:258:40: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 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] drivers/usb/storage/transport.c:469:47: warning: 'partial' may be used uninitialized [-Wmaybe-uninitialized] drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c:111:44: warning: 'ctx' may be used uninitialized in this function [-Wmaybe-uninitialized] include/asm-generic/io.h:735:19: warning: 'reg' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c:80:44: warning: 'ctx' may be used uninitialized in this function [-Wmaybe-uninitialized] include/asm-generic/io.h:735:19: warning: 'reg' may be used uninitialized in this function [-Wmaybe-uninitialized]
Full Log
# git rev-parse -q --verify e91ef5bcdeda8956eb9f1972ed90198b698dca0f^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/mirror/linux-stable.git linux-5.2.y # git rev-parse -q --verify e91ef5bcdeda8956eb9f1972ed90198b698dca0f^{commit} e91ef5bcdeda8956eb9f1972ed90198b698dca0f # 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/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 e91ef5bcdeda8956eb9f1972ed90198b698dca0f # < make -s -j 20 ARCH=arm64 O=/kisskb/build/stable-5.2_arm64-defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- defconfig # < make -s -j 20 ARCH=arm64 O=/kisskb/build/stable-5.2_arm64-defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 20 ARCH=arm64 O=/kisskb/build/stable-5.2_arm64-defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig # make -s -j 20 ARCH=arm64 O=/kisskb/build/stable-5.2_arm64-defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/kernel/events/core.c:11: /kisskb/src/kernel/events/core.c: In function 'perf_event_alloc': /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/kernel/events/core.c:375:17: note: while referencing 'perf_sched_count' 375 | static atomic_t perf_sched_count; | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/kernel/events/core.c:11: /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/kernel/events/core.c:375:17: note: while referencing 'perf_sched_count' 375 | static atomic_t perf_sched_count; | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/kernel/events/core.c:11: /kisskb/src/kernel/events/core.c: In function '_free_event': /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/kernel/events/core.c:375:17: note: while referencing 'perf_sched_count' 375 | static atomic_t perf_sched_count; | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/kernel/events/core.c:11: /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/kernel/events/core.c:375:17: note: while referencing 'perf_sched_count' 375 | static atomic_t perf_sched_count; | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/preempt.h:11, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/swap.h:5, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/kernel/power/hibernate.c:15: /kisskb/src/kernel/power/hibernate.c: In function 'software_resume': /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/power/hibernate.c:35: /kisskb/src/kernel/power/power.h:160:17: note: while referencing 'snapshot_device_available' 160 | extern atomic_t snapshot_device_available; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/preempt.h:11, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/swap.h:5, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/kernel/power/hibernate.c:15: /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/power/hibernate.c:35: /kisskb/src/kernel/power/power.h:160:17: note: while referencing 'snapshot_device_available' 160 | extern atomic_t snapshot_device_available; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/preempt.h:11, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/swap.h:5, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/kernel/power/hibernate.c:15: /kisskb/src/kernel/power/hibernate.c: In function 'hibernate': /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/power/hibernate.c:35: /kisskb/src/kernel/power/power.h:160:17: note: while referencing 'snapshot_device_available' 160 | extern atomic_t snapshot_device_available; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/preempt.h:11, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/swap.h:5, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/kernel/power/hibernate.c:15: /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/power/hibernate.c:35: /kisskb/src/kernel/power/power.h:160:17: note: while referencing 'snapshot_device_available' 160 | extern atomic_t snapshot_device_available; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In function '__mod_timer', inlined from 'schedule_timeout' at /kisskb/src/kernel/time/timer.c:1806:2: /kisskb/src/kernel/time/timer.c:965:34: warning: 'timer.timer.expires' may be used uninitialized [-Wmaybe-uninitialized] 965 | long diff = timer->expires - expires; | ~~~~~^~~~~~~~~ /kisskb/src/kernel/time/timer.c: In function 'schedule_timeout': /kisskb/src/kernel/time/timer.c:1770:30: note: 'timer' declared here 1770 | struct process_timer timer; | ^~~~~ /kisskb/src/arch/arm64/kvm/sys_regs.c: In function 'index_to_sys_reg_desc.part.0.isra': /kisskb/src/arch/arm64/kvm/sys_regs.c:979:47: warning: 'params.Op2' may be used uninitialized in this function [-Wmaybe-uninitialized] 979 | (u32)(x)->CRn, (u32)(x)->CRm, (u32)(x)->Op2); | ^ /kisskb/src/arch/arm64/kvm/sys_regs.c:2353:31: note: 'params.Op2' was declared here 2353 | struct sys_reg_params params; | ^~~~~~ /kisskb/src/arch/arm64/kvm/sys_regs.c:979:32: warning: 'params.CRm' may be used uninitialized in this function [-Wmaybe-uninitialized] 979 | (u32)(x)->CRn, (u32)(x)->CRm, (u32)(x)->Op2); | ^ /kisskb/src/arch/arm64/kvm/sys_regs.c:2353:31: note: 'params.CRm' was declared here 2353 | struct sys_reg_params params; | ^~~~~~ /kisskb/src/arch/arm64/kvm/sys_regs.c:979:17: warning: 'params.CRn' may be used uninitialized in this function [-Wmaybe-uninitialized] 979 | (u32)(x)->CRn, (u32)(x)->CRm, (u32)(x)->Op2); | ^ /kisskb/src/arch/arm64/kvm/sys_regs.c:2353:31: note: 'params.CRn' was declared here 2353 | struct sys_reg_params params; | ^~~~~~ /kisskb/src/arch/arm64/kvm/sys_regs.c:978:32: warning: 'params.Op1' may be used uninitialized in this function [-Wmaybe-uninitialized] 978 | sys_reg((u32)(x)->Op0, (u32)(x)->Op1, \ | ^ /kisskb/src/arch/arm64/kvm/sys_regs.c:2353:31: note: 'params.Op1' was declared here 2353 | struct sys_reg_params params; | ^~~~~~ /kisskb/src/arch/arm64/kvm/sys_regs.c:978:17: warning: 'params.Op0' may be used uninitialized in this function [-Wmaybe-uninitialized] 978 | sys_reg((u32)(x)->Op0, (u32)(x)->Op1, \ | ^ /kisskb/src/arch/arm64/kvm/sys_regs.c:2353:31: note: 'params.Op0' was declared here 2353 | struct sys_reg_params params; | ^~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/linux/debug_locks.h:5, from /kisskb/src/kernel/panic.c:12: /kisskb/src/kernel/panic.c: In function 'panic': /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/kernel/panic.c:115:10: note: while referencing 'panic_cpu' 115 | atomic_t panic_cpu = ATOMIC_INIT(PANIC_CPU_INVALID); | ^~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/linux/debug_locks.h:5, from /kisskb/src/kernel/panic.c:12: /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/kernel/panic.c:115:10: note: while referencing 'panic_cpu' 115 | atomic_t panic_cpu = ATOMIC_INIT(PANIC_CPU_INVALID); | ^~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/linux/debug_locks.h:5, from /kisskb/src/kernel/panic.c:12: /kisskb/src/kernel/panic.c: In function 'nmi_panic': /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/kernel/panic.c:115:10: note: while referencing 'panic_cpu' 115 | atomic_t panic_cpu = ATOMIC_INIT(PANIC_CPU_INVALID); | ^~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/linux/debug_locks.h:5, from /kisskb/src/kernel/panic.c:12: /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/kernel/panic.c:115:10: note: while referencing 'panic_cpu' 115 | atomic_t panic_cpu = ATOMIC_INIT(PANIC_CPU_INVALID); | ^~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/preempt.h:11, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/swap.h:5, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/kernel/power/user.c:10: /kisskb/src/kernel/power/user.c: In function 'snapshot_open': /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/kernel/power/user.c:42:10: note: while referencing 'snapshot_device_available' 42 | atomic_t snapshot_device_available = ATOMIC_INIT(1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/preempt.h:11, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/swap.h:5, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/kernel/power/user.c:10: /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/kernel/power/user.c:42:10: note: while referencing 'snapshot_device_available' 42 | atomic_t snapshot_device_available = ATOMIC_INIT(1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/time/posix-cpu-timers.c: In function 'posix_cpu_timer_rearm': /kisskb/src/kernel/time/posix-cpu-timers.c:1019:17: warning: 'now' may be used uninitialized [-Wmaybe-uninitialized] 1019 | bump_cpu_timer(timer, now); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/time/posix-cpu-timers.c:1009:13: note: 'now' declared here 1009 | u64 now; | ^~~ /kisskb/src/kernel/time/posix-cpu-timers.c: In function 'posix_cpu_timer_get': /kisskb/src/kernel/time/posix-cpu-timers.c:763:17: warning: 'now' may be used uninitialized [-Wmaybe-uninitialized] 763 | if (now < timer->it.cpu.expires) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/time/posix-cpu-timers.c:721:13: note: 'now' declared here 721 | u64 now; | ^~~ In file included from /kisskb/src/include/linux/filter.h:13, from /kisskb/src/net/bluetooth/l2cap_core.c:35: /kisskb/src/net/bluetooth/l2cap_core.c: In function 'l2cap_chan_send': /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/bluetooth/l2cap_core.c:2472:29: note: while referencing 'seg_queue' 2472 | struct sk_buff_head seg_queue; | ^~~~~~~~~ In file included from /kisskb/src/include/linux/filter.h:13, from /kisskb/src/net/bluetooth/l2cap_core.c:35: /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/bluetooth/l2cap_core.c:2472:29: note: while referencing 'seg_queue' 2472 | struct sk_buff_head seg_queue; | ^~~~~~~~~ In file included from /kisskb/src/include/linux/filter.h:13, from /kisskb/src/net/bluetooth/l2cap_core.c:35: /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/bluetooth/l2cap_core.c:2472:29: note: while referencing 'seg_queue' 2472 | struct sk_buff_head seg_queue; | ^~~~~~~~~ In file included from /kisskb/src/include/linux/filter.h:13, from /kisskb/src/net/bluetooth/l2cap_core.c:35: /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/bluetooth/l2cap_core.c:2472:29: note: while referencing 'seg_queue' 2472 | struct sk_buff_head seg_queue; | ^~~~~~~~~ /kisskb/src/sound/pci/hda/hda_codec.c: In function 'snd_hda_get_connections': /kisskb/src/sound/pci/hda/hda_codec.c:219:17: warning: 'list' may be used uninitialized in this function [-Wmaybe-uninitialized] 219 | memcpy(conn_list, list, len * sizeof(hda_nid_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/uaccess.h:5, from /kisskb/src/net/core/dev.c:71: /kisskb/src/net/core/dev.c: In function 'net_enable_timestamp': /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/net/core/dev.c:1836:17: note: while referencing 'netstamp_wanted' 1836 | static atomic_t netstamp_wanted; | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/uaccess.h:5, from /kisskb/src/net/core/dev.c:71: /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/net/core/dev.c:1836:17: note: while referencing 'netstamp_wanted' 1836 | static atomic_t netstamp_wanted; | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/uaccess.h:5, from /kisskb/src/net/core/dev.c:71: /kisskb/src/net/core/dev.c: In function 'net_disable_timestamp': /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/net/core/dev.c:1836:17: note: while referencing 'netstamp_wanted' 1836 | static atomic_t netstamp_wanted; | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/uaccess.h:5, from /kisskb/src/net/core/dev.c:71: /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/net/core/dev.c:1836:17: note: while referencing 'netstamp_wanted' 1836 | static atomic_t netstamp_wanted; | ^~~~~~~~~~~~~~~ /kisskb/src/net/bluetooth/ecdh_helper.c:122:55: warning: argument 2 of type 'const u8[32]' {aka 'const unsigned char[32]'} with mismatched bound [-Warray-parameter=] 122 | int set_ecdh_privkey(struct crypto_kpp *tfm, const u8 private_key[32]) | ~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /kisskb/src/net/bluetooth/ecdh_helper.c:23: /kisskb/src/net/bluetooth/ecdh_helper.h:28:56: note: previously declared as 'const u8 *' {aka 'const unsigned char *'} 28 | int set_ecdh_privkey(struct crypto_kpp *tfm, const u8 *private_key); | ~~~~~~~~~~^~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/module.h:9, from /kisskb/src/kernel/kmod.c:4: /kisskb/src/kernel/kmod.c: In function '__request_module': /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/kernel/kmod.c:44:17: note: while referencing 'kmod_concurrent_max' 44 | static atomic_t kmod_concurrent_max = ATOMIC_INIT(MAX_KMOD_CONCURRENT); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/module.h:9, from /kisskb/src/kernel/kmod.c:4: /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/kernel/kmod.c:44:17: note: while referencing 'kmod_concurrent_max' 44 | static atomic_t kmod_concurrent_max = ATOMIC_INIT(MAX_KMOD_CONCURRENT); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/module.h:9, from /kisskb/src/kernel/kmod.c:4: /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/kernel/kmod.c:44:17: note: while referencing 'kmod_concurrent_max' 44 | static atomic_t kmod_concurrent_max = ATOMIC_INIT(MAX_KMOD_CONCURRENT); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/module.h:9, from /kisskb/src/kernel/kmod.c:4: /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/kernel/kmod.c:44:17: note: while referencing 'kmod_concurrent_max' 44 | static atomic_t kmod_concurrent_max = ATOMIC_INIT(MAX_KMOD_CONCURRENT); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/module.h:9, from /kisskb/src/kernel/kmod.c:4: /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/kernel/kmod.c:44:17: note: while referencing 'kmod_concurrent_max' 44 | static atomic_t kmod_concurrent_max = ATOMIC_INIT(MAX_KMOD_CONCURRENT); | ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/module.h:9, from /kisskb/src/kernel/kmod.c:4: /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/kernel/kmod.c:44:17: note: while referencing 'kmod_concurrent_max' 44 | static atomic_t kmod_concurrent_max = ATOMIC_INIT(MAX_KMOD_CONCURRENT); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/crypto/ecc.c: In function 'crypto_ecdh_shared_secret': /kisskb/src/crypto/ecc.c:1495:9: warning: 'priv' may be used uninitialized [-Wmaybe-uninitialized] 1495 | ecc_point_mult(product, pk, priv, rand_z, curve, ndigits); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/crypto/ecc.c:1142:13: note: by argument 3 of type 'const u64 *' {aka 'const long long unsigned int *'} to 'ecc_point_mult' declared here 1142 | static void ecc_point_mult(struct ecc_point *result, | ^~~~~~~~~~~~~~ /kisskb/src/crypto/ecc.c:1460:13: note: 'priv' declared here 1460 | u64 priv[ECC_MAX_DIGITS]; | ^~~~ /kisskb/src/mm/hugetlb.c: In function 'hugetlb_fault_mutex_hash': /kisskb/src/mm/hugetlb.c:3967:47: warning: expression does not compute the number of elements in this array; element type is 'long unsigned int', not 'u32' {aka 'unsigned int'} [-Wsizeof-array-div] 3967 | hash = jhash2((u32 *)&key, sizeof(key)/sizeof(u32), 0); | ^ /kisskb/src/mm/hugetlb.c:3967:47: note: add parentheses around the second 'sizeof' to silence this warning /kisskb/src/mm/hugetlb.c:3961:23: note: array 'key' declared here 3961 | unsigned long key[2]; | ^~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/asm-generic/bug.h:18, from /kisskb/src/arch/arm64/include/asm/bug.h:26, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/kernel/kexec_core.c:10: /kisskb/src/kernel/kexec_core.c: In function 'crash_kexec': /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/bug.h:18, from /kisskb/src/arch/arm64/include/asm/bug.h:26, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/kernel/kexec_core.c:10: /kisskb/src/include/linux/kernel.h:518:17: note: while referencing 'panic_cpu' 518 | extern atomic_t panic_cpu; | ^~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/asm-generic/bug.h:18, from /kisskb/src/arch/arm64/include/asm/bug.h:26, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/kernel/kexec_core.c:10: /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/bug.h:18, from /kisskb/src/arch/arm64/include/asm/bug.h:26, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/kernel/kexec_core.c:10: /kisskb/src/include/linux/kernel.h:518:17: note: while referencing 'panic_cpu' 518 | extern atomic_t panic_cpu; | ^~~~~~~~~ /kisskb/src/mm/mempolicy.c: In function 'mpol_parse_str': /kisskb/src/mm/mempolicy.c:2893:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2893 | *--flags = '='; | ~~~~~~~~~^~~~~ /kisskb/src/mm/mempolicy.c:2782:26: note: destination object 'str' of size [0, 9223372036854775807] 2782 | int mpol_parse_str(char *str, struct mempolicy **mpol) | ~~~~~~^~~ /kisskb/src/mm/mempolicy.c:2893:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2893 | *--flags = '='; | ~~~~~~~~~^~~~~ /kisskb/src/mm/mempolicy.c:2782:26: note: destination object 'str' of size [0, 9223372036854775807] 2782 | int mpol_parse_str(char *str, struct mempolicy **mpol) | ~~~~~~^~~ /kisskb/src/mm/mempolicy.c:2893:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2893 | *--flags = '='; | ~~~~~~~~~^~~~~ /kisskb/src/mm/mempolicy.c:2782:26: note: destination object 'str' of size [0, 9223372036854775807] 2782 | int mpol_parse_str(char *str, struct mempolicy **mpol) | ~~~~~~^~~ /kisskb/src/mm/mempolicy.c:2893:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2893 | *--flags = '='; | ~~~~~~~~~^~~~~ /kisskb/src/mm/mempolicy.c:2782:26: note: destination object 'str' of size [0, 9223372036854775807] 2782 | int mpol_parse_str(char *str, struct mempolicy **mpol) | ~~~~~~^~~ /kisskb/src/mm/mempolicy.c:2893:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2893 | *--flags = '='; | ~~~~~~~~~^~~~~ /kisskb/src/mm/mempolicy.c:2782:26: note: destination object 'str' of size [0, 9223372036854775807] 2782 | int mpol_parse_str(char *str, struct mempolicy **mpol) | ~~~~~~^~~ /kisskb/src/mm/mempolicy.c:2893:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2893 | *--flags = '='; | ~~~~~~~~~^~~~~ /kisskb/src/mm/mempolicy.c:2782:26: note: destination object 'str' of size [0, 9223372036854775807] 2782 | int mpol_parse_str(char *str, struct mempolicy **mpol) | ~~~~~~^~~ /kisskb/src/mm/mempolicy.c:2893:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2893 | *--flags = '='; | ~~~~~~~~~^~~~~ /kisskb/src/mm/mempolicy.c:2782:26: note: destination object 'str' of size [0, 9223372036854775807] 2782 | int mpol_parse_str(char *str, struct mempolicy **mpol) | ~~~~~~^~~ In file included from /kisskb/src/fs/ext4/extents.c:32: /kisskb/src/fs/ext4/extents.c: In function 'ext4_ext_map_blocks': /kisskb/src/fs/ext4/ext4_extents.h:227:19: warning: 'zero_ex2.ee_start_hi' may be used uninitialized [-Wmaybe-uninitialized] 227 | block |= ((ext4_fsblk_t) le16_to_cpu(ex->ee_start_hi) << 31) << 1; /kisskb/src/fs/ext4/extents.c:3493:38: note: 'zero_ex2.ee_start_hi' was declared here 3493 | struct ext4_extent zero_ex1, zero_ex2; | ^~~~~~~~ In file included from /kisskb/src/fs/ext4/extents.c:32: /kisskb/src/fs/ext4/ext4_extents.h:226:15: warning: 'zero_ex2.ee_start_lo' may be used uninitialized [-Wmaybe-uninitialized] 226 | block = le32_to_cpu(ex->ee_start_lo); /kisskb/src/fs/ext4/extents.c:3493:38: note: 'zero_ex2.ee_start_lo' was declared here 3493 | struct ext4_extent zero_ex1, zero_ex2; | ^~~~~~~~ In file included from /kisskb/src/fs/ext4/extents.c:32: /kisskb/src/fs/ext4/ext4_extents.h:226:15: warning: 'zero_ex1.ee_start_lo' may be used uninitialized in this function [-Wmaybe-uninitialized] 226 | block = le32_to_cpu(ex->ee_start_lo); /kisskb/src/fs/ext4/extents.c:3493:28: note: 'zero_ex1.ee_start_lo' was declared here 3493 | struct ext4_extent zero_ex1, zero_ex2; | ^~~~~~~~ In file included from /kisskb/src/fs/ext4/extents.c:32: /kisskb/src/fs/ext4/ext4_extents.h:227:19: warning: 'zero_ex1.ee_start_hi' may be used uninitialized in this function [-Wmaybe-uninitialized] 227 | block |= ((ext4_fsblk_t) le16_to_cpu(ex->ee_start_hi) << 31) << 1; /kisskb/src/fs/ext4/extents.c:3493:28: note: 'zero_ex1.ee_start_hi' was declared here 3493 | struct ext4_extent zero_ex1, zero_ex2; | ^~~~~~~~ /kisskb/src/fs/ext4/extents.c:3212:16: warning: 'zero_ex1.ee_block' may be used uninitialized in this function [-Wmaybe-uninitialized] 3212 | return ext4_es_insert_extent(inode, ee_block, ee_len, ee_pblock, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3213 | EXTENT_STATUS_WRITTEN); | ~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/ext4/extents.c:3493:28: note: 'zero_ex1.ee_block' was declared here 3493 | struct ext4_extent zero_ex1, zero_ex2; | ^~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/asm-generic/bug.h:18, from /kisskb/src/arch/arm64/include/asm/bug.h:26, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/mm/huge_memory.c:8: /kisskb/src/mm/huge_memory.c: In function 'shrink_huge_zero_page_scan': /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/mm/huge_memory.c:62:17: note: while referencing 'huge_zero_refcount' 62 | static atomic_t huge_zero_refcount; | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/asm-generic/bug.h:18, from /kisskb/src/arch/arm64/include/asm/bug.h:26, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/mm/huge_memory.c:8: /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/mm/huge_memory.c:62:17: note: while referencing 'huge_zero_refcount' 62 | static atomic_t huge_zero_refcount; | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/asm-generic/bug.h:18, from /kisskb/src/arch/arm64/include/asm/bug.h:26, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/mm/huge_memory.c:8: /kisskb/src/mm/huge_memory.c: In function 'mm_get_huge_zero_page': /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/mm/huge_memory.c:62:17: note: while referencing 'huge_zero_refcount' 62 | static atomic_t huge_zero_refcount; | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/asm-generic/bug.h:18, from /kisskb/src/arch/arm64/include/asm/bug.h:26, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/mm/huge_memory.c:8: /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/mm/huge_memory.c:62:17: note: while referencing 'huge_zero_refcount' 62 | static atomic_t huge_zero_refcount; | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/linux/etherdevice.h:20, from /kisskb/src/net/mac80211/sta_info.c:12: /kisskb/src/net/mac80211/sta_info.c: In function 'ieee80211_sta_ps_deliver_response': /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/mac80211/sta_info.c:1521:29: note: while referencing 'frames' 1521 | struct sk_buff_head frames; | ^~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/linux/etherdevice.h:20, from /kisskb/src/net/mac80211/sta_info.c:12: /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/mac80211/sta_info.c:1521:29: note: while referencing 'frames' 1521 | struct sk_buff_head frames; | ^~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/linux/etherdevice.h:20, from /kisskb/src/net/mac80211/sta_info.c:12: /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/mac80211/sta_info.c:1564:37: note: while referencing 'pending' 1564 | struct sk_buff_head pending; | ^~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/linux/etherdevice.h:20, from /kisskb/src/net/mac80211/sta_info.c:12: /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/mac80211/sta_info.c:1564:37: note: while referencing 'pending' 1564 | struct sk_buff_head pending; | ^~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/linux/etherdevice.h:20, from /kisskb/src/net/mac80211/sta_info.c:12: /kisskb/src/net/mac80211/sta_info.c: In function 'ieee80211_sta_ps_deliver_wakeup': /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/mac80211/sta_info.c:1229:29: note: while referencing 'pending' 1229 | struct sk_buff_head pending; | ^~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/linux/etherdevice.h:20, from /kisskb/src/net/mac80211/sta_info.c:12: /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/mac80211/sta_info.c:1229:29: note: while referencing 'pending' 1229 | struct sk_buff_head pending; | ^~~~~~~ /kisskb/src/net/netfilter/nf_conntrack_core.c: In function '__nf_conntrack_alloc.constprop': /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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/module.h:9, from /kisskb/src/fs/lockd/svc.c:16: /kisskb/src/fs/lockd/svc.c: In function 'lockd_inetaddr_event': /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/fs/lockd/svc.c:61:17: note: while referencing 'nlm_ntf_refcnt' 61 | static atomic_t nlm_ntf_refcnt = ATOMIC_INIT(0); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/module.h:9, from /kisskb/src/fs/lockd/svc.c:16: /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/fs/lockd/svc.c:61:17: note: while referencing 'nlm_ntf_refcnt' 61 | static atomic_t nlm_ntf_refcnt = ATOMIC_INIT(0); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/module.h:9, from /kisskb/src/fs/lockd/svc.c:16: /kisskb/src/fs/lockd/svc.c: In function 'lockd_inet6addr_event': /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/fs/lockd/svc.c:61:17: note: while referencing 'nlm_ntf_refcnt' 61 | static atomic_t nlm_ntf_refcnt = ATOMIC_INIT(0); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, 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/module.h:9, from /kisskb/src/fs/lockd/svc.c:16: /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/fs/lockd/svc.c:61:17: note: while referencing 'nlm_ntf_refcnt' 61 | static atomic_t nlm_ntf_refcnt = ATOMIC_INIT(0); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/net/mac80211/rx.c:15: /kisskb/src/net/mac80211/rx.c: In function 'ieee80211_prepare_and_rx_handle': /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/mac80211/rx.c:3671:29: note: while referencing 'reorder_release' 3671 | struct sk_buff_head reorder_release; | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/net/mac80211/rx.c:15: /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/mac80211/rx.c:3671:29: note: while referencing 'reorder_release' 3671 | struct sk_buff_head reorder_release; | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/lib/dump_stack.c:7: /kisskb/src/lib/dump_stack.c: In function 'dump_stack': /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/lib/dump_stack.c:86:17: note: while referencing 'dump_lock' 86 | static atomic_t dump_lock = ATOMIC_INIT(-1); | ^~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/atomic.h:5, from /kisskb/src/arch/arm64/include/asm/bitops.h:26, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/lib/dump_stack.c:7: /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/lib/dump_stack.c:86:17: note: while referencing 'dump_lock' 86 | static atomic_t dump_lock = ATOMIC_INIT(-1); | ^~~~~~~~~ /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/net/mac80211/tx.c:15: /kisskb/src/net/mac80211/tx.c: In function '__ieee80211_subif_start_xmit': /kisskb/src/include/linux/skbuff.h:1948:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct ieee80211_tx_data[1]' [-Warray-bounds] 1948 | __skb_insert(newsk, next->prev, next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/mac80211/tx.c:3418:34: note: while referencing 'tx' 3418 | struct ieee80211_tx_data tx; | ^~ In file included from /kisskb/src/net/mac80211/tx.c:15: /kisskb/src/include/linux/skbuff.h:1842:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct ieee80211_tx_data[1]' [-Warray-bounds] 1842 | next->prev = prev->next = newsk; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/mac80211/tx.c:3418:34: note: while referencing 'tx' 3418 | struct ieee80211_tx_data tx; | ^~ In file included from /kisskb/src/net/mac80211/tx.c:15: /kisskb/src/net/mac80211/tx.c: In function 'ieee80211_subif_start_xmit': /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/mac80211/tx.c:4016:37: note: while referencing 'queue' 4016 | struct sk_buff_head queue; | ^~~~~ In file included from /kisskb/src/net/mac80211/tx.c:15: /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/mac80211/tx.c:4016:37: note: while referencing 'queue' 4016 | struct sk_buff_head queue; | ^~~~~ In file included from /kisskb/src/net/mac80211/tx.c:15: /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/mac80211/tx.c:4016:37: note: while referencing 'queue' 4016 | struct sk_buff_head queue; | ^~~~~ In file included from /kisskb/src/net/mac80211/tx.c:15: /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/mac80211/tx.c:4016:37: note: while referencing 'queue' 4016 | struct sk_buff_head queue; | ^~~~~ In file included from /kisskb/src/net/mac80211/tx.c:15: /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/mac80211/tx.c:4016:37: note: while referencing 'queue' 4016 | struct sk_buff_head queue; | ^~~~~ In file included from /kisskb/src/net/mac80211/tx.c:15: /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/mac80211/tx.c:4016:37: note: while referencing 'queue' 4016 | struct sk_buff_head queue; | ^~~~~ In file included from /kisskb/src/net/mac80211/tx.c:15: /kisskb/src/net/mac80211/tx.c: In function 'ieee80211_tx_pending': /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/mac80211/tx.c:4108:37: note: while referencing 'skbs' 4108 | struct sk_buff_head skbs; | ^~~~ In file included from /kisskb/src/net/mac80211/tx.c:15: /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/mac80211/tx.c:4108:37: note: while referencing 'skbs' 4108 | struct sk_buff_head skbs; | ^~~~ /kisskb/src/drivers/input/mouse/synaptics.c: In function 'synaptics_report_mt_data': /kisskb/src/drivers/input/mouse/synaptics.c:995:9: warning: 'pos' may be used uninitialized [-Wmaybe-uninitialized] 995 | input_mt_assign_slots(dev, slot, pos, nsemi, DMAX * priv->info.x_res); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/input/mouse/synaptics.c:26: /kisskb/src/include/linux/input/mt.h:118:5: note: by argument 3 of type 'const struct input_mt_pos *' to 'input_mt_assign_slots' declared here 118 | int input_mt_assign_slots(struct input_dev *dev, int *slots, | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/input/mouse/synaptics.c:985:29: note: 'pos' declared here 985 | struct input_mt_pos pos[2]; | ^~~ /kisskb/src/drivers/input/mouse/cypress_ps2.c: In function 'cypress_process_packet.constprop': /kisskb/src/drivers/input/mouse/cypress_ps2.c:536:9: warning: 'pos' may be used uninitialized [-Wmaybe-uninitialized] 536 | input_mt_assign_slots(input, slots, pos, n, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/input/mouse/cypress_ps2.c:21: /kisskb/src/include/linux/input/mt.h:118:5: note: by argument 3 of type 'const struct input_mt_pos *' to 'input_mt_assign_slots' declared here 118 | int input_mt_assign_slots(struct input_dev *dev, int *slots, | ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/input/mouse/cypress_ps2.c:520:29: note: 'pos' declared here 520 | struct input_mt_pos pos[CYTP_MAX_MT_SLOTS]; | ^~~ 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/usb/r8152.c:9: /kisskb/src/drivers/net/usb/r8152.c: In function 'rtl_drop_queued_tx': /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/usb/r8152.c:2127:29: note: while referencing 'skb_head' 2127 | struct sk_buff_head skb_head, *tx_queue = &tp->tx_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/drivers/net/usb/r8152.c:9: /kisskb/src/drivers/net/usb/r8152.c: In function 'r8152_poll': /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/usb/r8152.c:1767:29: note: while referencing 'skb_head' 1767 | struct sk_buff_head skb_head, *tx_queue = &tp->tx_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/drivers/net/usb/r8152.c:9: /kisskb/src/include/linux/skbuff.h:1938:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1938 | __skb_insert(newsk, prev, prev->next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/usb/r8152.c:1767:29: note: while referencing 'skb_head' 1767 | struct sk_buff_head skb_head, *tx_queue = &tp->tx_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/drivers/net/usb/r8152.c:9: /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/net/usb/r8152.c:1767:29: note: while referencing 'skb_head' 1767 | struct sk_buff_head skb_head, *tx_queue = &tp->tx_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/drivers/net/usb/r8152.c:9: /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/net/usb/r8152.c:1605:37: note: while referencing 'seg_list' 1605 | struct sk_buff_head seg_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/drivers/net/usb/r8152.c:9: /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/net/usb/r8152.c:1605:37: note: while referencing 'seg_list' 1605 | struct sk_buff_head seg_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/drivers/net/usb/r8152.c:9: /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/usb/r8152.c:1767:29: note: while referencing 'skb_head' 1767 | struct sk_buff_head skb_head, *tx_queue = &tp->tx_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/drivers/net/usb/r8152.c:9: /kisskb/src/include/linux/skbuff.h:1938:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1938 | __skb_insert(newsk, prev, prev->next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/usb/r8152.c:1767:29: note: while referencing 'skb_head' 1767 | struct sk_buff_head skb_head, *tx_queue = &tp->tx_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/drivers/net/usb/r8152.c:9: /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/net/usb/r8152.c:1767:29: note: while referencing 'skb_head' 1767 | struct sk_buff_head skb_head, *tx_queue = &tp->tx_queue; | ^~~~~~~~ /kisskb/src/drivers/net/usb/lan78xx.c: In function 'lan78xx_update_stats.part.0': /kisskb/src/drivers/net/usb/lan78xx.c:602:33: warning: 'lan78xx_stats' may be used uninitialized [-Wmaybe-uninitialized] 602 | data[i] = (u64)p[i] + ((u64)count[i] * ((u64)max[i] + 1)); | ~^~~ /kisskb/src/drivers/net/usb/lan78xx.c:586:34: note: 'lan78xx_stats' declared here 586 | struct lan78xx_statstage lan78xx_stats; | ^~~~~~~~~~~~~ /kisskb/src/drivers/net/usb/lan78xx.c:602:33: warning: 'lan78xx_stats' may be used uninitialized [-Wmaybe-uninitialized] 602 | data[i] = (u64)p[i] + ((u64)count[i] * ((u64)max[i] + 1)); | ~^~~ /kisskb/src/drivers/net/usb/lan78xx.c:586:34: note: 'lan78xx_stats' declared here 586 | struct lan78xx_statstage lan78xx_stats; | ^~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c: In function 'ath10k_htt_rx_handle_amsdu': /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/net/wireless/ath/ath10k/htt_rx.c:2015:29: note: while referencing 'amsdu' 2015 | struct sk_buff_head amsdu; | ^~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /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/net/wireless/ath/ath10k/htt_rx.c:2015:29: note: while referencing 'amsdu' 2015 | struct sk_buff_head amsdu; | ^~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /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/net/wireless/ath/ath10k/htt_rx.c:2015:29: note: while referencing 'amsdu' 2015 | struct sk_buff_head amsdu; | ^~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /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/net/wireless/ath/ath10k/htt_rx.c:2015:29: note: while referencing 'amsdu' 2015 | struct sk_buff_head amsdu; | ^~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /kisskb/src/include/linux/skbuff.h:1938:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1938 | __skb_insert(newsk, prev, prev->next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2015:29: note: while referencing 'amsdu' 2015 | struct sk_buff_head amsdu; | ^~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /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/net/wireless/ath/ath10k/htt_rx.c:2015:29: note: while referencing 'amsdu' 2015 | struct sk_buff_head amsdu; | ^~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /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/net/wireless/ath/ath10k/htt_rx.c:2015:29: note: while referencing 'amsdu' 2015 | struct sk_buff_head amsdu; | ^~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c: In function 'ath10k_htt_txrx_compl_task': /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/wireless/ath/ath10k/htt_rx.c:3492:29: note: while referencing 'tx_ind_q' 3492 | struct sk_buff_head tx_ind_q; | ^~~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2684:53: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct htt_tx_fetch_record[0]' [-Wzero-length-bounds] 2684 | record = &resp->tx_fetch_ind.records[i]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:18, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /kisskb/src/drivers/net/wireless/ath/ath10k/htt.h:1628:36: note: while referencing 'records' 1628 | struct htt_tx_fetch_record records[0]; | ^~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2684:53: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct htt_tx_fetch_record[0]' [-Wzero-length-bounds] 2684 | record = &resp->tx_fetch_ind.records[i]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:18, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /kisskb/src/drivers/net/wireless/ath/ath10k/htt.h:1628:36: note: while referencing 'records' 1628 | struct htt_tx_fetch_record records[0]; | ^~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2684:53: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct htt_tx_fetch_record[0]' [-Wzero-length-bounds] 2684 | record = &resp->tx_fetch_ind.records[i]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:18, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /kisskb/src/drivers/net/wireless/ath/ath10k/htt.h:1628:36: note: while referencing 'records' 1628 | struct htt_tx_fetch_record records[0]; | ^~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2684:53: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct htt_tx_fetch_record[0]' [-Wzero-length-bounds] 2684 | record = &resp->tx_fetch_ind.records[i]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:18, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /kisskb/src/drivers/net/wireless/ath/ath10k/htt.h:1628:36: note: while referencing 'records' 1628 | struct htt_tx_fetch_record records[0]; | ^~~~~~~ /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:2684:53: warning: array subscript 65534 is outside the bounds of an interior zero-length array 'struct htt_tx_fetch_record[0]' [-Wzero-length-bounds] 2684 | record = &resp->tx_fetch_ind.records[i]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:18, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /kisskb/src/drivers/net/wireless/ath/ath10k/htt.h:1628:36: note: while referencing 'records' 1628 | struct htt_tx_fetch_record records[0]; | ^~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /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/net/wireless/ath/ath10k/htt_rx.c:2520:29: note: while referencing 'list' 2520 | struct sk_buff_head list; | ^~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /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/net/wireless/ath/ath10k/htt_rx.c:2520:29: note: while referencing 'list' 2520 | struct sk_buff_head list; | ^~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /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/net/wireless/ath/ath10k/htt_rx.c:2520:29: note: while referencing 'list' 2520 | struct sk_buff_head list; | ^~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /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/net/wireless/ath/ath10k/htt_rx.c:2520:29: note: while referencing 'list' 2520 | struct sk_buff_head list; | ^~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /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/net/wireless/ath/ath10k/htt_rx.c:2520:29: note: while referencing 'list' 2520 | struct sk_buff_head list; | ^~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /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/net/wireless/ath/ath10k/htt_rx.c:2520:29: note: while referencing 'list' 2520 | struct sk_buff_head list; | ^~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /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/net/wireless/ath/ath10k/htt_rx.c:2520:29: note: while referencing 'list' 2520 | struct sk_buff_head list; | ^~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /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/net/wireless/ath/ath10k/htt_rx.c:2520:29: note: while referencing 'list' 2520 | struct sk_buff_head list; | ^~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /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/net/wireless/ath/ath10k/htt_rx.c:2521:29: note: while referencing 'amsdu' 2521 | struct sk_buff_head amsdu; | ^~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /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/net/wireless/ath/ath10k/htt_rx.c:2521:29: note: while referencing 'amsdu' 2521 | struct sk_buff_head amsdu; | ^~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/htt_rx.c:8: /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/wireless/ath/ath10k/htt_rx.c:2520:29: note: while referencing 'list' 2520 | struct sk_buff_head list; | ^~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:18: /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c: In function 'brcmf_fws_rxreorder': /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/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:1695:29: note: while referencing 'reorder_list' 1695 | struct sk_buff_head reorder_list; | ^~~~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.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/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:1695:29: note: while referencing 'reorder_list' 1695 | struct sk_buff_head reorder_list; | ^~~~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.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/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:1695:29: note: while referencing 'reorder_list' 1695 | struct sk_buff_head reorder_list; | ^~~~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.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/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:1695:29: note: while referencing 'reorder_list' 1695 | struct sk_buff_head reorder_list; | ^~~~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.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/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:1695:29: note: while referencing 'reorder_list' 1695 | struct sk_buff_head reorder_list; | ^~~~~~~~~~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.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/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:1695:29: note: while referencing 'reorder_list' 1695 | struct sk_buff_head reorder_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/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:19: /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c: In function 'brcmf_sdiod_sglist_rw': /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/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:396:29: note: while referencing 'local_list' 396 | struct sk_buff_head local_list, *target_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/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:19: /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/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:396:29: note: while referencing 'local_list' 396 | struct sk_buff_head local_list, *target_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/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:19: /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/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:396:29: note: while referencing 'local_list' 396 | struct sk_buff_head local_list, *target_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/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:19: /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/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:396:29: note: while referencing 'local_list' 396 | struct sk_buff_head local_list, *target_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/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:23: /kisskb/src/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c: In function 'brcmf_sdio_dataworker': /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/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:2305:29: note: while referencing 'pktq' 2305 | struct sk_buff_head pktq; | ^~~~ 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/wireless/broadcom/brcm80211/brcmfmac/sdio.c:23: /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/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:2305:29: note: while referencing 'pktq' 2305 | struct sk_buff_head pktq; | ^~~~ /kisskb/src/drivers/pinctrl/freescale/pinctrl-scu.c: In function 'imx_pinconf_get_scu': /kisskb/src/drivers/pinctrl/freescale/pinctrl-scu.c:65:23: warning: array subscript 'struct imx_sc_msg_resp_pad_get[0]' is partly outside array bounds of 'struct imx_sc_msg_req_pad_get[1]' [-Warray-bounds] 65 | *config = resp->val; | ^~ /kisskb/src/drivers/pinctrl/freescale/pinctrl-scu.c:48:39: note: while referencing 'msg' 48 | struct imx_sc_msg_req_pad_get msg; | ^~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c:13: /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c: In function 'ath10k_pci_process_rx_cb': /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/net/wireless/ath/ath10k/pci.c:1202:29: note: while referencing 'list' 1202 | struct sk_buff_head list; | ^~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/pci.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/net/wireless/ath/ath10k/pci.c:1202:29: note: while referencing 'list' 1202 | struct sk_buff_head list; | ^~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c:13: /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c: In function 'ath10k_pci_htc_tx_cb': /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/net/wireless/ath/ath10k/pci.c:1178:29: note: while referencing 'list' 1178 | struct sk_buff_head list; | ^~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/pci.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/net/wireless/ath/ath10k/pci.c:1178:29: note: while referencing 'list' 1178 | struct sk_buff_head list; | ^~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c:13: /kisskb/src/drivers/net/wireless/ath/ath10k/pci.c: In function 'ath10k_pci_htt_rx_cb': /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/net/wireless/ath/ath10k/pci.c:1246:29: note: while referencing 'list' 1246 | struct sk_buff_head list; | ^~~~ In file included from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/drivers/net/wireless/ath/ath10k/core.h:12, from /kisskb/src/drivers/net/wireless/ath/ath10k/pci.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/net/wireless/ath/ath10k/pci.c:1246:29: note: while referencing 'list' 1246 | struct sk_buff_head list; | ^~~~ In file included from /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:11: /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c: In function 'calib_fail_count_read': /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:86:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] 86 | res = snprintf(buf, sizeof(buf), "%s[%d] = %d\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 87 | buf, i, stats->sub.name[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:24:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 24 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:170:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 170 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(calib, fail_count, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:80:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 80 | char buf[DEBUGFS_FORMAT_BUFFER_SIZE] = ""; \ | ^~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:24:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 24 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:170:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 170 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(calib, fail_count, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c: In function 'diversity_num_of_packets_per_ant_read': /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:86:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] 86 | res = snprintf(buf, sizeof(buf), "%s[%d] = %d\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 87 | buf, i, stats->sub.name[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:24:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 24 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:159:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 159 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(diversity, num_of_packets_per_ant, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:80:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 80 | char buf[DEBUGFS_FORMAT_BUFFER_SIZE] = ""; \ | ^~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:24:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 24 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:159:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 159 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(diversity, num_of_packets_per_ant, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:86:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] 86 | res = snprintf(buf, sizeof(buf), "%s[%d] = %d\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 87 | buf, i, stats->sub.name[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:24:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 24 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:159:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 159 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(diversity, num_of_packets_per_ant, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:80:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 80 | char buf[DEBUGFS_FORMAT_BUFFER_SIZE] = ""; \ | ^~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:24:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 24 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:159:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 159 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(diversity, num_of_packets_per_ant, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c: In function 'pipeline_pipeline_fifo_full_read': /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:86:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] 86 | res = snprintf(buf, sizeof(buf), "%s[%d] = %d\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 87 | buf, i, stats->sub.name[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:24:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 24 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:156:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 156 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(pipeline, pipeline_fifo_full, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:80:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 80 | char buf[DEBUGFS_FORMAT_BUFFER_SIZE] = ""; \ | ^~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:24:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 24 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:156:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 156 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(pipeline, pipeline_fifo_full, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c: In function 'aggr_size_rx_size_read': /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:86:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] 86 | res = snprintf(buf, sizeof(buf), "%s[%d] = %d\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 87 | buf, i, stats->sub.name[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:24:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 24 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:140:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 140 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(aggr_size, rx_size, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:80:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 80 | char buf[DEBUGFS_FORMAT_BUFFER_SIZE] = ""; \ | ^~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:24:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 24 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:140:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 140 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(aggr_size, rx_size, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c: In function 'aggr_size_tx_agg_len_read': /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:86:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] 86 | res = snprintf(buf, sizeof(buf), "%s[%d] = %d\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 87 | buf, i, stats->sub.name[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:24:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 24 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:138:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 138 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(aggr_size, tx_agg_len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:80:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 80 | char buf[DEBUGFS_FORMAT_BUFFER_SIZE] = ""; \ | ^~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:24:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 24 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:138:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 138 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(aggr_size, tx_agg_len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c: In function 'aggr_size_tx_agg_rate_read': /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:86:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] 86 | res = snprintf(buf, sizeof(buf), "%s[%d] = %d\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 87 | buf, i, stats->sub.name[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:24:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 24 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:136:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 136 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(aggr_size, tx_agg_rate, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:80:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 80 | char buf[DEBUGFS_FORMAT_BUFFER_SIZE] = ""; \ | ^~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:24:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 24 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:136:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 136 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(aggr_size, tx_agg_rate, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c: In function 'rx_rate_rx_frames_per_rates_read': /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:86:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] 86 | res = snprintf(buf, sizeof(buf), "%s[%d] = %d\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 87 | buf, i, stats->sub.name[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:24:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 24 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:134:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 134 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(rx_rate, rx_frames_per_rates, 50); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:80:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 80 | char buf[DEBUGFS_FORMAT_BUFFER_SIZE] = ""; \ | ^~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:24:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 24 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:134:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 134 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(rx_rate, rx_frames_per_rates, 50); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c: In function 'pwr_cont_miss_bcns_spread_read': /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:86:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] 86 | res = snprintf(buf, sizeof(buf), "%s[%d] = %d\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 87 | buf, i, stats->sub.name[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:24:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 24 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:113:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 113 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(pwr, cont_miss_bcns_spread, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:80:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 80 | char buf[DEBUGFS_FORMAT_BUFFER_SIZE] = ""; \ | ^~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:24:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 24 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:113:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 113 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(pwr, cont_miss_bcns_spread, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c: In function 'tx_tx_retry_per_rate_read': /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:86:23: warning: 'snprintf' argument 4 overlaps destination object 'buf' [-Wrestrict] 86 | res = snprintf(buf, sizeof(buf), "%s[%d] = %d\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 87 | buf, i, stats->sub.name[i]); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:24:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 24 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:62:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 62 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(tx, tx_retry_per_rate, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/../wlcore/debugfs.h:80:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 80 | char buf[DEBUGFS_FORMAT_BUFFER_SIZE] = ""; \ | ^~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:24:9: note: in expansion of macro 'DEBUGFS_FWSTATS_FILE_ARRAY' 24 | DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wl18xx/debugfs.c:62:1: note: in expansion of macro 'WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY' 62 | WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(tx, tx_retry_per_rate, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wlcore/boot.c: In function 'wlcore_boot_run_firmware': /kisskb/src/drivers/net/wireless/ti/wlcore/boot.c:113:25: warning: 'snprintf' argument 4 overlaps destination object 'min_fw_str' [-Wrestrict] 113 | snprintf(min_fw_str, sizeof(min_fw_str), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 114 | "%s%u.", min_fw_str, min_ver[i]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wlcore/boot.c:74:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 74 | char min_fw_str[32] = ""; | ^~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wlcore/boot.c:110:25: warning: 'snprintf' argument 4 overlaps destination object 'min_fw_str' [-Wrestrict] 110 | snprintf(min_fw_str, sizeof(min_fw_str), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 111 | "%s*.", min_fw_str); | ~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/wireless/ti/wlcore/boot.c:74:14: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 74 | char min_fw_str[32] = ""; | ^~~~~~~~~~ In file included from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/pnp/resource.c:11: /kisskb/src/drivers/pnp/resource.c: In function 'pnp_range_reserved': /kisskb/src/include/linux/kernel.h:974:10: warning: array subscript -46 is outside array bounds of 'struct list_head[1]' [-Warray-bounds] 974 | ((type *)(__mptr - offsetof(type, member))); }) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/list.h:465:9: note: in expansion of macro 'container_of' 465 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /kisskb/src/include/linux/pnp.h:275:30: note: in expansion of macro 'list_entry' 275 | #define global_to_pnp_dev(n) list_entry(n, struct pnp_dev, global_list) | ^~~~~~~~~~ /kisskb/src/include/linux/pnp.h:281:18: note: in expansion of macro 'global_to_pnp_dev' 281 | (dev) != global_to_pnp_dev(&pnp_global); \ | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/pnp/resource.c:692:9: note: in expansion of macro 'pnp_for_each_dev' 692 | pnp_for_each_dev(dev) { | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/pnp/resource.c:23: /kisskb/src/include/linux/pnp.h:456:25: note: while referencing 'pnp_global' 456 | extern struct list_head pnp_global; | ^~~~~~~~~~ In file included from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/pnp/resource.c:11: /kisskb/src/drivers/pnp/resource.c: In function 'pnp_check_port': /kisskb/src/include/linux/kernel.h:974:10: warning: array subscript -46 is outside array bounds of 'struct list_head[1]' [-Warray-bounds] 974 | ((type *)(__mptr - offsetof(type, member))); }) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/list.h:465:9: note: in expansion of macro 'container_of' 465 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /kisskb/src/include/linux/pnp.h:275:30: note: in expansion of macro 'list_entry' 275 | #define global_to_pnp_dev(n) list_entry(n, struct pnp_dev, global_list) | ^~~~~~~~~~ /kisskb/src/include/linux/pnp.h:281:18: note: in expansion of macro 'global_to_pnp_dev' 281 | (dev) != global_to_pnp_dev(&pnp_global); \ | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/pnp/resource.c:207:9: note: in expansion of macro 'pnp_for_each_dev' 207 | pnp_for_each_dev(tdev) { | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/pnp/resource.c:23: /kisskb/src/include/linux/pnp.h:456:25: note: while referencing 'pnp_global' 456 | extern struct list_head pnp_global; | ^~~~~~~~~~ In file included from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/pnp/resource.c:11: /kisskb/src/drivers/pnp/resource.c: In function 'pnp_check_mem': /kisskb/src/include/linux/kernel.h:974:10: warning: array subscript -46 is outside array bounds of 'struct list_head[1]' [-Warray-bounds] 974 | ((type *)(__mptr - offsetof(type, member))); }) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/list.h:465:9: note: in expansion of macro 'container_of' 465 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /kisskb/src/include/linux/pnp.h:275:30: note: in expansion of macro 'list_entry' 275 | #define global_to_pnp_dev(n) list_entry(n, struct pnp_dev, global_list) | ^~~~~~~~~~ /kisskb/src/include/linux/pnp.h:281:18: note: in expansion of macro 'global_to_pnp_dev' 281 | (dev) != global_to_pnp_dev(&pnp_global); \ | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/pnp/resource.c:270:9: note: in expansion of macro 'pnp_for_each_dev' 270 | pnp_for_each_dev(tdev) { | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/pnp/resource.c:23: /kisskb/src/include/linux/pnp.h:456:25: note: while referencing 'pnp_global' 456 | extern struct list_head pnp_global; | ^~~~~~~~~~ In file included from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/pnp/resource.c:11: /kisskb/src/drivers/pnp/resource.c: In function 'pnp_check_irq': /kisskb/src/include/linux/kernel.h:974:10: warning: array subscript -46 is outside array bounds of 'struct list_head[1]' [-Warray-bounds] 974 | ((type *)(__mptr - offsetof(type, member))); }) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/list.h:465:9: note: in expansion of macro 'container_of' 465 | container_of(ptr, type, member) | ^~~~~~~~~~~~ /kisskb/src/include/linux/pnp.h:275:30: note: in expansion of macro 'list_entry' 275 | #define global_to_pnp_dev(n) list_entry(n, struct pnp_dev, global_list) | ^~~~~~~~~~ /kisskb/src/include/linux/pnp.h:281:18: note: in expansion of macro 'global_to_pnp_dev' 281 | (dev) != global_to_pnp_dev(&pnp_global); \ | ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/pnp/resource.c:397:9: note: in expansion of macro 'pnp_for_each_dev' 397 | pnp_for_each_dev(tdev) { | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/pnp/resource.c:23: /kisskb/src/include/linux/pnp.h:456:25: note: while referencing 'pnp_global' 456 | extern struct list_head pnp_global; | ^~~~~~~~~~ In function 'qcom_glink_rx_open', inlined from 'qcom_glink_work' at /kisskb/src/drivers/rpmsg/qcom_glink_native.c:1527:4: /kisskb/src/drivers/rpmsg/qcom_glink_native.c:1406:17: warning: 'strncpy' offset 24 from the object at '__mptr' is out of the bounds of referenced subobject 'data' with type 'u8[]' {aka 'unsigned char[]'} at offset 24 [-Warray-bounds] 1406 | strncpy(rpdev->id.name, name, RPMSG_NAME_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/rpmsg/qcom_glink_native.c: In function 'qcom_glink_work': /kisskb/src/drivers/rpmsg/qcom_glink_native.c:36:12: note: subobject 'data' declared here 36 | u8 data[]; | ^~~~ 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/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/xen-netfront.c:36: /kisskb/src/drivers/net/xen-netfront.c: In function 'xennet_poll': /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/net/xen-netfront.c:999:29: note: while referencing 'tmpq' 999 | struct sk_buff_head tmpq; | ^~~~ 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/xen-netfront.c:36: /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/net/xen-netfront.c:999:29: note: while referencing 'tmpq' 999 | struct sk_buff_head tmpq; | ^~~~ 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/xen-netfront.c:36: /kisskb/src/include/linux/skbuff.h:1938:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds] 1938 | __skb_insert(newsk, prev, prev->next, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/xen-netfront.c:999:29: note: while referencing 'tmpq' 999 | struct sk_buff_head tmpq; | ^~~~ 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/xen-netfront.c:36: /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/net/xen-netfront.c:999:29: note: while referencing 'tmpq' 999 | struct sk_buff_head tmpq; | ^~~~ 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/xen-netfront.c:36: /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/net/xen-netfront.c:997:29: note: while referencing 'rxq' 997 | struct sk_buff_head rxq; | ^~~ 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/xen-netfront.c:36: /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/net/xen-netfront.c:997:29: note: while referencing 'rxq' 997 | struct sk_buff_head rxq; | ^~~ 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/xen-netfront.c:36: /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/net/xen-netfront.c:998:29: note: while referencing 'errq' 998 | struct sk_buff_head errq; | ^~~~ 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/xen-netfront.c:36: /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/net/xen-netfront.c:998:29: note: while referencing 'errq' 998 | struct sk_buff_head errq; | ^~~~ 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; | ^~~~ /kisskb/src/drivers/scsi/libsas/sas_task.c: In function 'sas_ssp_task_response': /kisskb/src/drivers/scsi/libsas/sas_task.c:21:44: warning: array subscript 3 is outside the bounds of an interior zero-length array 'u8[0]' {aka 'unsigned char[]'} [-Wzero-length-bounds] 21 | tstat->stat = iu->resp_data[3]; | ~~~~~~~~~~~~~^~~ In file included from /kisskb/src/include/scsi/scsi_transport_sas.h:8, from /kisskb/src/drivers/scsi/libsas/sas_internal.h:14, from /kisskb/src/drivers/scsi/libsas/sas_task.c:3: /kisskb/src/include/scsi/sas.h:326:16: note: while referencing 'resp_data' 326 | u8 resp_data[0]; | ^~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/linux/console.h:17, from /kisskb/src/drivers/tty/hvc/hvc_console.c:12: /kisskb/src/drivers/tty/hvc/hvc_console.c: In function 'hvc_alloc': /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/drivers/tty/hvc/hvc_console.c:61:17: note: while referencing 'hvc_needs_init' 61 | static atomic_t hvc_needs_init __read_mostly = ATOMIC_INIT(-1); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/arch/arm64/include/asm/atomic.h:23, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/linux/console.h:17, from /kisskb/src/drivers/tty/hvc/hvc_console.c:12: /kisskb/src/arch/arm64/include/asm/atomic_lse.h:447:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'atomic_t[1]' [-Warray-bounds] 447 | asm volatile(ARM64_LSE_ATOMIC_INSN( \ | ^~~ /kisskb/src/arch/arm64/include/asm/atomic_lse.h:476:1: note: in expansion of macro '__CMPXCHG_CASE' 476 | __CMPXCHG_CASE(w, , mb_, 32, al, "memory") | ^~~~~~~~~~~~~~ /kisskb/src/drivers/tty/hvc/hvc_console.c:61:17: note: while referencing 'hvc_needs_init' 61 | static atomic_t hvc_needs_init __read_mostly = ATOMIC_INIT(-1); | ^~~~~~~~~~~~~~ /kisskb/src/drivers/usb/chipidea/host.c: In function 'ci_ehci_hub_control': /kisskb/src/drivers/usb/chipidea/host.c:241:22: warning: array subscript 254 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 241 | status_reg = &ehci->regs->port_status[(wIndex & 0xff) - 1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/usb/chipidea/../host/ehci.h:273, from /kisskb/src/drivers/usb/chipidea/host.c:18: /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/chipidea/host.c: In function 'ci_ehci_bus_suspend': /kisskb/src/drivers/usb/chipidea/host.c:312:36: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 312 | u32 __iomem *reg = &ehci->regs->port_status[port]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/usb/chipidea/../host/ehci.h:273, from /kisskb/src/drivers/usb/chipidea/host.c:18: /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 '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]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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 file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:305: /kisskb/src/drivers/usb/host/ehci-hub.c: In function 'ehci_port_handed_over': /kisskb/src/drivers/usb/host/ehci-hub.c:1331:15: warning: array subscript '<unknown>' 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]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:305: /kisskb/src/drivers/usb/host/ehci-hub.c: In function 'ehci_adjust_port_wakeup_flags.part.0': /kisskb/src/drivers/usb/host/ehci-hub.c:167:55: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 167 | u32 __iomem *hostpc_reg = &ehci->regs->hostpc[port]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ 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:184:25: note: while referencing 'hostpc' 184 | u32 hostpc[0]; /* HOSTPC extension */ | ^~~~~~ In file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:305: /kisskb/src/drivers/usb/host/ehci-hub.c:199:55: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 199 | u32 __iomem *hostpc_reg = &ehci->regs->hostpc[port]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ 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:184:25: note: while referencing 'hostpc' 184 | u32 hostpc[0]; /* HOSTPC extension */ | ^~~~~~ In file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:305: /kisskb/src/drivers/usb/host/ehci-hub.c:141:38: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 141 | if (ehci_readl(ehci, &ehci->regs->port_status[i]) & PORT_CSC) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:305: /kisskb/src/drivers/usb/host/ehci-hub.c:179:40: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 179 | u32 __iomem *reg = &ehci->regs->port_status[port]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:305: /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 'portnum' 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]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:305: /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]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:305: /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]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ 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:184:25: note: while referencing 'hostpc' 184 | u32 hostpc[0]; /* HOSTPC extension */ | ^~~~~~ In file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:305: /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]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:305: /kisskb/src/drivers/usb/host/ehci-hub.c: In function 'ehci_bus_resume': /kisskb/src/drivers/usb/host/ehci-hub.c:427:41: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 427 | 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 file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:305: /kisskb/src/drivers/usb/host/ehci-hub.c:447:57: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 447 | &ehci->regs->hostpc[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:184:25: note: while referencing 'hostpc' 184 | u32 hostpc[0]; /* HOSTPC extension */ | ^~~~~~ In file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:305: /kisskb/src/drivers/usb/host/ehci-hub.c:110:31: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 110 | reg = &ehci->regs->port_status[port]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:305: /kisskb/src/drivers/usb/host/ehci-hub.c:73:31: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 73 | reg = &ehci->regs->port_status[port]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:305: /kisskb/src/drivers/usb/host/ehci-hub.c:59:31: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 59 | reg = &ehci->regs->port_status[port]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:305: /kisskb/src/drivers/usb/host/ehci-hub.c:488:41: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 488 | 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 file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:305: /kisskb/src/drivers/usb/host/ehci-hub.c:491:49: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 491 | ehci_writel(ehci, temp, &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 file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:305: /kisskb/src/drivers/usb/host/ehci-hub.c:464:41: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 464 | 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 file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:305: /kisskb/src/drivers/usb/host/ehci-hub.c:471:41: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 471 | ehci_writel(ehci, temp, &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 */ | ^~~~~~~~~~~ /kisskb/src/drivers/usb/host/ehci-hcd.c: In function 'ehci_silence_controller': /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]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:305: /kisskb/src/drivers/usb/host/ehci-hub.c: In function 'ehci_bus_suspend': /kisskb/src/drivers/usb/host/ehci-hub.c:320:55: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 320 | u32 __iomem *hostpc_reg = &ehci->regs->hostpc[port]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ 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:184:25: note: while referencing 'hostpc' 184 | u32 hostpc[0]; /* HOSTPC extension */ | ^~~~~~ In file included from /kisskb/src/drivers/usb/host/ehci-hcd.c:305: /kisskb/src/drivers/usb/host/ehci-hub.c:258:40: warning: array subscript 14 is outside the bounds of an interior zero-length array 'u32[0]' {aka 'unsigned int[]'} [-Wzero-length-bounds] 258 | u32 __iomem *reg = &ehci->regs->port_status [port]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 */ | ^~~~~~~~~~~ /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]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 'usb_stor_bulk_srb', inlined from 'usb_stor_CB_transport' at /kisskb/src/drivers/usb/storage/transport.c:982:12: /kisskb/src/drivers/usb/storage/transport.c:469:47: warning: 'partial' may be used uninitialized [-Wmaybe-uninitialized] 469 | scsi_set_resid(srb, scsi_bufflen(srb) - partial); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~ /kisskb/src/drivers/usb/storage/transport.c: In function 'usb_stor_CB_transport': /kisskb/src/drivers/usb/storage/transport.c:464:22: note: 'partial' declared here 464 | unsigned int partial; | ^~~~~~~ /kisskb/src/drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c: In function 'nv40_fifo_dma_engine_init': /kisskb/src/drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c:111:44: warning: 'ctx' may be used uninitialized in this function [-Wmaybe-uninitialized] 111 | nvkm_wo32(imem->ramfc, chan->ramfc + ctx, inst); | ^ In file included from /kisskb/src/arch/arm64/include/asm/io.h:198, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/pci.h:33, from /kisskb/src/drivers/gpu/drm/nouveau/include/nvif/os.h:8, from /kisskb/src/drivers/gpu/drm/nouveau/include/nvkm/core/os.h:4, from /kisskb/src/drivers/gpu/drm/nouveau/include/nvkm/core/oclass.h:3, from /kisskb/src/drivers/gpu/drm/nouveau/include/nvkm/core/device.h:4, from /kisskb/src/drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h:4, from /kisskb/src/drivers/gpu/drm/nouveau/include/nvkm/core/engine.h:5, from /kisskb/src/drivers/gpu/drm/nouveau/include/nvkm/engine/fifo.h:4, from /kisskb/src/drivers/gpu/drm/nouveau/nvkm/engine/fifo/priv.h:5, from /kisskb/src/drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.h:5, from /kisskb/src/drivers/gpu/drm/nouveau/nvkm/engine/fifo/channv04.h:5, from /kisskb/src/drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c:24: /kisskb/src/include/asm-generic/io.h:735:19: warning: 'reg' may be used uninitialized in this function [-Wmaybe-uninitialized] 735 | #define iowrite32 iowrite32 | ^~~~~~~~~ /kisskb/src/drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c:97:19: note: 'reg' was declared here 97 | u32 inst, reg, ctx; | ^~~ /kisskb/src/drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c: In function 'nv40_fifo_dma_engine_fini': /kisskb/src/drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c:80:44: warning: 'ctx' may be used uninitialized in this function [-Wmaybe-uninitialized] 80 | nvkm_wo32(imem->ramfc, chan->ramfc + ctx, 0x00000000); | ^ In file included from /kisskb/src/arch/arm64/include/asm/io.h:198, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/pci.h:33, from /kisskb/src/drivers/gpu/drm/nouveau/include/nvif/os.h:8, from /kisskb/src/drivers/gpu/drm/nouveau/include/nvkm/core/os.h:4, from /kisskb/src/drivers/gpu/drm/nouveau/include/nvkm/core/oclass.h:3, from /kisskb/src/drivers/gpu/drm/nouveau/include/nvkm/core/device.h:4, from /kisskb/src/drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h:4, from /kisskb/src/drivers/gpu/drm/nouveau/include/nvkm/core/engine.h:5, from /kisskb/src/drivers/gpu/drm/nouveau/include/nvkm/engine/fifo.h:4, from /kisskb/src/drivers/gpu/drm/nouveau/nvkm/engine/fifo/priv.h:5, from /kisskb/src/drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.h:5, from /kisskb/src/drivers/gpu/drm/nouveau/nvkm/engine/fifo/channv04.h:5, from /kisskb/src/drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c:24: /kisskb/src/include/asm-generic/io.h:735:19: warning: 'reg' may be used uninitialized in this function [-Wmaybe-uninitialized] 735 | #define iowrite32 iowrite32 | ^~~~~~~~~ /kisskb/src/drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c:67:13: note: 'reg' was declared here 67 | u32 reg, ctx; | ^~~ Completed OK # rm -rf /kisskb/build/stable-5.2_arm64-defconfig_arm64-gcc11 # Build took: 0:12:20.132562
© Michael Ellerman 2006-2018.