Buildresult: gustavoars/alpha-defconfig/alpha-gcc4.6 built on May 1 2020, 08:30
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
May 1 2020, 08:30
Duration:
0:00:42.310695
Builder:
ka2
Revision:
ath10k: fix gcc-10 zero-length-bounds warnings (
f7e2b2478af237b3e88abab3ee0e2b163c624a68)
Target:
gustavoars/alpha-defconfig/alpha-gcc4.6
Branch:
gustavoars
Compiler:
alpha-gcc4.6
(alpha-linux-gcc (GCC) 4.6.3 / GNU ld (GNU Binutils) 2.22)
Config:
defconfig
(
download
)
Log:
Download original
Possible warnings (9)
<stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] include/linux/list.h:72:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] fs/namei.c:1805:10: warning: 'inode' may be used uninitialized in this function [-Wuninitialized] fs/namei.c:1805:10: warning: 'seq' may be used uninitialized in this function [-Wuninitialized] kernel/futex.c:1676:3: warning: 'oldval' may be used uninitialized in this function [-Wuninitialized] mm/memory.c:1614:2: warning: 'err' may be used uninitialized in this function [-Wuninitialized] fs/io_uring.c:6701:13: warning: 'err' may be used uninitialized in this function [-Wuninitialized] WARNING: modpost: "saved_config" [vmlinux] is COMMON symbol
Full Log
# git rev-parse -q --verify f7e2b2478af237b3e88abab3ee0e2b163c624a68^{commit} f7e2b2478af237b3e88abab3ee0e2b163c624a68 already have revision, skipping fetch # git checkout -q -f -B kisskb f7e2b2478af237b3e88abab3ee0e2b163c624a68 # git clean -qxdf # < git log -1 # commit f7e2b2478af237b3e88abab3ee0e2b163c624a68 # Author: Arnd Bergmann <arnd@arndb.de> # Date: Thu Apr 30 23:30:46 2020 +0200 # # ath10k: fix gcc-10 zero-length-bounds warnings # # gcc-10 started warning about out-of-bounds access for zero-length # arrays: # # In file included from drivers/net/wireless/ath/ath10k/core.h:18, # from drivers/net/wireless/ath/ath10k/htt_rx.c:8: # drivers/net/wireless/ath/ath10k/htt_rx.c: In function 'ath10k_htt_rx_tx_fetch_ind': # drivers/net/wireless/ath/ath10k/htt.h:1683:17: warning: array subscript 65535 is outside the bounds of an interior zero-length array 'struct htt_tx_fetch_record[0]' [-Wzero-length-bounds] # 1683 | return (void *)&ind->records[le16_to_cpu(ind->num_records)]; # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # drivers/net/wireless/ath/ath10k/htt.h:1676:29: note: while referencing 'records' # 1676 | struct htt_tx_fetch_record records[0]; # | ^~~~~~~ # # The structure was already converted to have a flexible-array member in # the past, but there are two zero-length members in the end and only # one of them can be a flexible-array member. # # Swap the two around to avoid the warning, as 'resp_ids' is not accessed # in a way that causes a warning. # # Fixes: 3ba225b506a2 ("treewide: Replace zero-length array with flexible-array member") # Fixes: 22e6b3bc5d96 ("ath10k: add new htt definitions") # Signed-off-by: Arnd Bergmann <arnd@arndb.de> # Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> # < /opt/cross/kisskb/gcc-4.6.3-nolibc/alpha-linux/bin/alpha-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/alpha-linux/bin/alpha-linux-ld --version # < git log --format=%s --max-count=1 f7e2b2478af237b3e88abab3ee0e2b163c624a68 # < make -s -j 48 ARCH=alpha O=/kisskb/build/gustavoars_alpha-defconfig_alpha-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/alpha-linux/bin/alpha-linux- defconfig # < make -s -j 48 ARCH=alpha O=/kisskb/build/gustavoars_alpha-defconfig_alpha-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/alpha-linux/bin/alpha-linux- help # make -s -j 48 ARCH=alpha O=/kisskb/build/gustavoars_alpha-defconfig_alpha-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/alpha-linux/bin/alpha-linux- olddefconfig # make -s -j 48 ARCH=alpha O=/kisskb/build/gustavoars_alpha-defconfig_alpha-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/alpha-linux/bin/alpha-linux- <stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:72:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:471:21: note: 'pdeo' was declared here /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/namei.c: In function 'handle_dots': /kisskb/src/fs/namei.c:1805:10: warning: 'inode' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/namei.c:1805:10: warning: 'seq' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1676:3: warning: 'oldval' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/futex.c:1652:6: note: 'oldval' was declared here /kisskb/src/mm/memory.c: In function 'vm_insert_pages': /kisskb/src/mm/memory.c:1614:2: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/io_uring.c: In function '__io_sqe_files_update': /kisskb/src/fs/io_uring.c:6701:13: warning: 'err' may be used uninitialized in this function [-Wuninitialized] WARNING: modpost: "saved_config" [vmlinux] is COMMON symbol Kernel arch/alpha/boot/vmlinux.gz is ready Completed OK # rm -rf /kisskb/build/gustavoars_alpha-defconfig_alpha-gcc4.6 # Build took: 0:00:42.310695
© Michael Ellerman 2006-2018.