Buildresult: gustavoars/i386-allnoconfig/i386-gcc4.6 built on May 12 2020, 21:09
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
May 12 2020, 21:09
Duration:
0:00:18.910403
Builder:
ka3
Revision:
media: s5k5baf: avoid gcc-10 zero-length-bounds warning (
72cc6f88d63076ad3d8acc00a3090ba0d1561a77)
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)
kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] 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]
Full Log
# git rev-parse -q --verify 72cc6f88d63076ad3d8acc00a3090ba0d1561a77^{commit} 72cc6f88d63076ad3d8acc00a3090ba0d1561a77 already have revision, skipping fetch # git checkout -q -f -B kisskb 72cc6f88d63076ad3d8acc00a3090ba0d1561a77 # git clean -qxdf # < git log -1 # commit 72cc6f88d63076ad3d8acc00a3090ba0d1561a77 # 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 72cc6f88d63076ad3d8acc00a3090ba0d1561a77 # < make -s -j 80 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 80 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 80 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 80 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/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/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] Completed OK # rm -rf /kisskb/build/gustavoars_i386-allnoconfig_i386-gcc4.6 # Build took: 0:00:18.910403
© Michael Ellerman 2006-2018.