Buildresult: gustavoars/i386-allnoconfig/i386-gcc4.6 built on May 7 2020, 15:30
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
May 7 2020, 15:30
Duration:
0:00:20.174078
Builder:
blade4b
Revision:
media: s5k5baf: avoid gcc-10 zero-length-bounds warning (
83f566dd61fe7af4a545933d154df4c2523623a4)
Target:
gustavoars/i386-allnoconfig/i386-gcc4.6
Branch:
gustavoars
Compiler:
i386-gcc4.6
(i386-linux-gcc (GCC) 4.6.3 / GNU ld (GNU Binutils) 2.22)
Config:
allnoconfig
(
download
)
Log:
Download original
Possible warnings (4)
arch/x86/kernel/e820.c:665:16: warning: 'gapstart' 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/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized]
Full Log
# git rev-parse -q --verify 83f566dd61fe7af4a545933d154df4c2523623a4^{commit} 83f566dd61fe7af4a545933d154df4c2523623a4 already have revision, skipping fetch # git checkout -q -f -B kisskb 83f566dd61fe7af4a545933d154df4c2523623a4 # git clean -qxdf # < git log -1 # commit 83f566dd61fe7af4a545933d154df4c2523623a4 # Author: Arnd Bergmann <arnd@arndb.de> # 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 <anonymous>[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 <arnd@arndb.de> # Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> # < /opt/cross/kisskb/gcc-4.6.3-nolibc/i386-linux/bin/i386-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/i386-linux/bin/i386-linux-ld --version # < git log --format=%s --max-count=1 83f566dd61fe7af4a545933d154df4c2523623a4 # < make -s -j 24 ARCH=i386 O=/kisskb/build/gustavoars_i386-allnoconfig_i386-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/i386-linux/bin/i386-linux- allnoconfig # < make -s -j 24 ARCH=i386 O=/kisskb/build/gustavoars_i386-allnoconfig_i386-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/i386-linux/bin/i386-linux- help # make -s -j 24 ARCH=i386 O=/kisskb/build/gustavoars_i386-allnoconfig_i386-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/i386-linux/bin/i386-linux- olddefconfig # make -s -j 24 ARCH=i386 O=/kisskb/build/gustavoars_i386-allnoconfig_i386-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/i386-linux/bin/i386-linux- /kisskb/src/arch/x86/kernel/e820.c: In function 'e820__setup_pci_gap': /kisskb/src/arch/x86/kernel/e820.c:665:16: warning: 'gapstart' 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/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] Completed OK # rm -rf /kisskb/build/gustavoars_i386-allnoconfig_i386-gcc4.6 # Build took: 0:00:20.174078
© Michael Ellerman 2006-2018.