Buildresult: gustavoars/mmu_defconfig/microblaze-gcc5 built on May 9 2020, 09:18
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
May 9 2020, 09:18
Duration:
0:00:56.094523
Builder:
ka1
Revision:
media: s5k5baf: avoid gcc-10 zero-length-bounds warning (
678da4cd2dec8f3546d395176fe8a3862d17d385)
Target:
gustavoars/mmu_defconfig/microblaze-gcc5
Branch:
gustavoars
Compiler:
microblaze-gcc5
(microblazeel-linux-gcc.br_real (Buildroot 2016.11-git-00613-ge98b4dd) 5.4.0 / GNU ld (GNU Binutils) 2.26.1)
Config:
mmu_defconfig
(
download
)
Log:
Download original
Possible warnings (1)
kernel/futex.c:1676:17: warning: 'oldval' may be used uninitialized in this function [-Wmaybe-uninitialized]
Full Log
# git rev-parse -q --verify 678da4cd2dec8f3546d395176fe8a3862d17d385^{commit} 678da4cd2dec8f3546d395176fe8a3862d17d385 already have revision, skipping fetch # git checkout -q -f -B kisskb 678da4cd2dec8f3546d395176fe8a3862d17d385 # git clean -qxdf # < git log -1 # commit 678da4cd2dec8f3546d395176fe8a3862d17d385 # 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/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux-gcc --version # < /opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux-ld --version # < git log --format=%s --max-count=1 678da4cd2dec8f3546d395176fe8a3862d17d385 # < make -s -j 48 ARCH=microblaze O=/kisskb/build/gustavoars_mmu_defconfig_microblaze CROSS_COMPILE=/opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux- mmu_defconfig # < make -s -j 48 ARCH=microblaze O=/kisskb/build/gustavoars_mmu_defconfig_microblaze CROSS_COMPILE=/opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux- help # make -s -j 48 ARCH=microblaze O=/kisskb/build/gustavoars_mmu_defconfig_microblaze CROSS_COMPILE=/opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux- olddefconfig # make -s -j 48 ARCH=microblaze O=/kisskb/build/gustavoars_mmu_defconfig_microblaze CROSS_COMPILE=/opt/cross/kisskb/br-microblaze-full-2016.08-613-ge98b4dd/bin/microblazeel-linux- /kisskb/src/scripts/Makefile.asm-generic:25: redundant generic-y found in arch/microblaze/include/asm/Kbuild: hw_irq.h /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1676:17: warning: 'oldval' may be used uninitialized in this function [-Wmaybe-uninitialized] return oldval == cmparg; ^ /kisskb/src/kernel/futex.c:1652:6: note: 'oldval' was declared here int oldval, ret; ^ Kernel: arch/microblaze/boot/linux.bin is ready (#1) Completed OK # rm -rf /kisskb/build/gustavoars_mmu_defconfig_microblaze # Build took: 0:00:56.094523
© Michael Ellerman 2006-2018.