Buildresult: gustavoars/cavium_octeon_defconfig/mips-gcc8 built on Aug 29 2019, 04:01
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Aug 29 2019, 04:01
Duration:
0:00:40.972043
Builder:
ka4
Revision:
ioat/dca: Use struct_size() helper (
36b450654483f167e7a0bb784fdf4a14f45820b7)
Target:
gustavoars/cavium_octeon_defconfig/mips-gcc8
Branch:
gustavoars
Compiler:
mips-gcc8
(mips-linux-gcc (GCC) 8.1.0 / GNU ld (GNU Binutils) 2.30)
Config:
cavium_octeon_defconfig
(
download
)
Log:
Download original
Possible errors
include/linux/device.h:1499:2: error: this statement may fall through [-Werror=implicit-fallthrough=] cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:273: arch/mips/cavium-octeon/octeon-usb.o] Error 1 make[2]: *** [scripts/Makefile.build:490: arch/mips/cavium-octeon] Error 2 make[1]: *** [Makefile:1079: arch/mips] Error 2 make: *** [Makefile:179: sub-make] Error 2
Possible warnings (4)
<stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] <stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] <stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] arch/mips/include/asm/octeon/cvmx-sli-defs.h:47:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
Full Log
# git rev-parse -q --verify 36b450654483f167e7a0bb784fdf4a14f45820b7^{commit} 36b450654483f167e7a0bb784fdf4a14f45820b7 already have revision, skipping fetch # git checkout -q -f -B kisskb 36b450654483f167e7a0bb784fdf4a14f45820b7 # git clean -qxdf # < git log -1 # commit 36b450654483f167e7a0bb784fdf4a14f45820b7 # Author: Gustavo A. R. Silva <gustavo@embeddedor.com> # Date: Wed Aug 28 12:11:41 2019 -0500 # # ioat/dca: Use struct_size() helper # # One of the more common cases of allocation size calculations is finding # the size of a structure that has a zero-sized array at the end, along # with memory for some number of elements for that array. For example: # # struct ioat_dca_priv { # ... # struct ioat_dca_slot req_slots[0]; # }; # # Make use of the struct_size() helper instead of an open-coded version # in order to avoid any potential type mistakes. # # So, replace the following form: # # sizeof(*ioatdca) + (sizeof(struct ioat_dca_slot) * slots) # # with: # # struct_size(ioatdca, req_slots, slots) # # This code was detected with the help of Coccinelle. # # Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 36b450654483f167e7a0bb784fdf4a14f45820b7 # < make -s -j 120 ARCH=mips O=/kisskb/build/gustavoars_cavium_octeon_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- cavium_octeon_defconfig # make -s -j 120 ARCH=mips O=/kisskb/build/gustavoars_cavium_octeon_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- <stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] <stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] <stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] In file included from /kisskb/src/arch/mips/cavium-octeon/octeon-usb.c:12: /kisskb/src/arch/mips/cavium-octeon/octeon-usb.c: In function 'dwc3_octeon_clocks_start': /kisskb/src/include/linux/device.h:1499:2: error: this statement may fall through [-Werror=implicit-fallthrough=] _dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/mips/cavium-octeon/octeon-usb.c:399:3: note: in expansion of macro 'dev_err' dev_err(dev, "Invalid ref_clk %u, using 100000000 instead\n", ^~~~~~~ /kisskb/src/arch/mips/cavium-octeon/octeon-usb.c:401:2: note: here case 100000000: ^~~~ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:273: arch/mips/cavium-octeon/octeon-usb.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:490: arch/mips/cavium-octeon] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1079: arch/mips] Error 2 make[1]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/arch/mips/pci/msi-octeon.c:18: /kisskb/src/arch/mips/include/asm/octeon/cvmx-sli-defs.h: In function 'CVMX_SLI_PCIE_MSI_RCV_FUNC': /kisskb/src/arch/mips/include/asm/octeon/cvmx-sli-defs.h:47:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (OCTEON_IS_MODEL(OCTEON_CN78XX_PASS1_X)) ^ /kisskb/src/arch/mips/include/asm/octeon/cvmx-sli-defs.h:49:2: note: here default: ^~~~~~~ make: *** [Makefile:179: sub-make] Error 2 Command 'make -s -j 120 ARCH=mips O=/kisskb/build/gustavoars_cavium_octeon_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/gustavoars_cavium_octeon_defconfig_mips-gcc8 # Build took: 0:00:40.972043
© Michael Ellerman 2006-2018.