Buildresult: gustavoars/sparc64-allmodconfig/sparc64-gcc5 built on May 26 2020, 08:11
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
May 26 2020, 08:11
Duration:
0:17:39.778246
Builder:
blade4b
Revision:
media: s5k5baf: avoid gcc-10 zero-length-bounds warning (
f486eda1869f804839ecc4a465eb0279710a2492)
Target:
gustavoars/sparc64-allmodconfig/sparc64-gcc5
Branch:
gustavoars
Compiler:
sparc64-gcc5
(sparc64-linux-gcc.br_real (Buildroot 2016.11-git-00613-ge98b4dd) 5.4.0 / GNU ld (GNU Binutils) 2.26.1)
Config:
allmodconfig
(
download
)
Log:
Download original
Possible warnings (9)
<stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] fs/cifs/smb2pdu.c:2899:19: warning: 'in_data_buf' may be used uninitialized in this function [-Wmaybe-uninitialized] kernel/futex.c:1676:17: warning: 'oldval' may be used uninitialized in this function [-Wmaybe-uninitialized] net/mptcp/protocol.c:606:6: warning: 'dfrag_collapsed' may be used uninitialized in this function [-Wmaybe-uninitialized] include/linux/spinlock.h:289:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/input/joystick/analog.c:160:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] #warning Precise timer not defined for this architecture. drivers/i2c/busses/i2c-sh_mobile.c:396:26: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] warning: same module names found:
Full Log
# git rev-parse -q --verify f486eda1869f804839ecc4a465eb0279710a2492^{commit} f486eda1869f804839ecc4a465eb0279710a2492 already have revision, skipping fetch # git checkout -q -f -B kisskb f486eda1869f804839ecc4a465eb0279710a2492 # git clean -qxdf # < git log -1 # commit f486eda1869f804839ecc4a465eb0279710a2492 # 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-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 f486eda1869f804839ecc4a465eb0279710a2492 # < make -s -j 24 ARCH=sparc64 O=/kisskb/build/gustavoars_sparc64-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_HAVE_FTRACE_MCOUNT_RECORD=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_MODULE_SIG=n # < make -s -j 24 ARCH=sparc64 O=/kisskb/build/gustavoars_sparc64-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- help # make -s -j 24 ARCH=sparc64 O=/kisskb/build/gustavoars_sparc64-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- olddefconfig # make -s -j 24 ARCH=sparc64 O=/kisskb/build/gustavoars_sparc64-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- <stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/fs/cifs/smb2pdu.c: In function 'SMB2_ioctl_init': /kisskb/src/fs/cifs/smb2pdu.c:2899:19: warning: 'in_data_buf' may be used uninitialized in this function [-Wmaybe-uninitialized] iov[1].iov_base = in_data_buf; ^ /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; ^ /kisskb/src/net/mptcp/protocol.c: In function 'mptcp_sendmsg_frag': /kisskb/src/net/mptcp/protocol.c:606:6: warning: 'dfrag_collapsed' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!dfrag_collapsed) { ^ In file included from /kisskb/src/include/linux/rwsem.h:16:0, from /kisskb/src/include/linux/notifier.h:15, from /kisskb/src/include/linux/clk.h:14, from /kisskb/src/drivers/tty/serial/sh-sci.c:20: /kisskb/src/drivers/tty/serial/sh-sci.c: In function 'sci_dma_rx_submit': /kisskb/src/include/linux/spinlock.h:289:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized] _raw_spin_unlock_irqrestore(lock, flags); \ ^ /kisskb/src/drivers/tty/serial/sh-sci.c:1348:16: note: 'flags' was declared here unsigned long flags; ^ /kisskb/src/drivers/input/joystick/analog.c:160:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] #warning Precise timer not defined for this architecture. ^ /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c: In function 'sh_mobile_i2c_isr': /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:396:26: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] pd->msg->buf[real_pos] = data; ^ /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:369:16: note: 'data' was declared here unsigned char data; ^ kernel: arch/sparc/boot/image is ready kernel: arch/sparc/boot/zImage is ready warning: same module names found: drivers/char/adi.ko drivers/input/joystick/adi.ko Completed OK # rm -rf /kisskb/build/gustavoars_sparc64-allmodconfig_sparc64 # Build took: 0:17:39.778246
© Michael Ellerman 2006-2018.