# git rev-parse -q --verify d88516748642e874cf9383367d4cda5f48262c97^{commit} # git fetch -q -n -f https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git for-next/kspp # git rev-parse -q --verify d88516748642e874cf9383367d4cda5f48262c97^{commit} d88516748642e874cf9383367d4cda5f48262c97 # git checkout -q -f -B kisskb d88516748642e874cf9383367d4cda5f48262c97 # git clean -qxdf # < git log -1 # commit d88516748642e874cf9383367d4cda5f48262c97 # Author: Arnd Bergmann # Date: Thu Apr 30 23:30:54 2020 +0200 # # media: s5k5baf: avoid gcc-10 zero-length-bounds warning # # gcc-10 warns about accessing a zero-length struct member: # # drivers/media/i2c/s5k5baf.c: In function 's5k5baf_load_setfile': # drivers/media/i2c/s5k5baf.c:390:13: warning: array subscript 65535 is outside the bounds of an interior zero-length array 'struct [0]' [-Wzero-length-bounds] # 390 | if (f->seq[i].offset + d <= end) # | ~~~~~~^~~ # # This should really be a flexible-array member, but the structure # already has one. I experimentally confirmed that swapping the two # avoids the warning, as the 'data[]' array is not accessed like this. # # Fixes: 3ba225b506a2 ("treewide: Replace zero-length array with flexible-array member") # Fixes: 7d459937dc09 ("[media] Add driver for Samsung S5K5BAF camera sensor") # Signed-off-by: Arnd Bergmann # Signed-off-by: Gustavo A. R. Silva # < /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 d88516748642e874cf9383367d4cda5f48262c97 # < make -s -j 24 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 24 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 24 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 24 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- :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] /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/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/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/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/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:01:00.400283