Buildresult: gustavoars/versatile_defconfig/arm-gcc4.9 built on Jul 15 2021, 23:09
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Jul 15 2021, 23:09
Duration:
0:00:51.844130
Builder:
ka4
Revision:
Input: Fix fall-through warning for Clang (
f1469e568bf6dcbdff9fd7cd7d2cc9ca9d06efeb)
Target:
gustavoars/versatile_defconfig/arm-gcc4.9
Branch:
gustavoars
Compiler:
arm-gcc4.9
(arm-linux-gnueabi-gcc (GCC) 4.9.4 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
versatile_defconfig
(
download
)
Log:
Download original
Possible warnings (2)
net/sched/sch_frag.c:93:10: warning: missing braces around initializer [-Wmissing-braces] net/sched/sch_frag.c:93:10: warning: (near initialization for 'sch_frag_rt.dst') [-Wmissing-braces]
Full Log
# git rev-parse -q --verify f1469e568bf6dcbdff9fd7cd7d2cc9ca9d06efeb^{commit} f1469e568bf6dcbdff9fd7cd7d2cc9ca9d06efeb already have revision, skipping fetch # git checkout -q -f -B kisskb f1469e568bf6dcbdff9fd7cd7d2cc9ca9d06efeb # git clean -qxdf # < git log -1 # commit f1469e568bf6dcbdff9fd7cd7d2cc9ca9d06efeb # Author: Gustavo A. R. Silva <gustavoars@kernel.org> # Date: Tue Jul 6 16:05:26 2021 -0500 # # Input: Fix fall-through warning for Clang # # In preparation to enable -Wimplicit-fallthrough for Clang, fix a # warning by explicitly adding a fallthrough; statement. # # Notice that this seems to be a Duff device for performance[1]. So, # although the code looks a bit _funny_, I didn't want to refactor # or modify it beyond merely adding a fallthrough marking, which # might be the least disruptive way to fix this issue. # # [1] https://www.drdobbs.com/a-reusable-duff-device/184406208 # # Link: https://github.com/KSPP/linux/issues/115 # Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi-ld --version # < git log --format=%s --max-count=1 f1469e568bf6dcbdff9fd7cd7d2cc9ca9d06efeb # < make -s -j 120 ARCH=arm O=/kisskb/build/gustavoars_versatile_defconfig_arm-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi- versatile_defconfig # < make -s -j 120 ARCH=arm O=/kisskb/build/gustavoars_versatile_defconfig_arm-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi- help # make -s -j 120 ARCH=arm O=/kisskb/build/gustavoars_versatile_defconfig_arm-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi- olddefconfig # make -s -j 120 ARCH=arm O=/kisskb/build/gustavoars_versatile_defconfig_arm-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi- /kisskb/src/net/sched/sch_frag.c: In function 'sch_fragment': /kisskb/src/net/sched/sch_frag.c:93:10: warning: missing braces around initializer [-Wmissing-braces] struct rtable sch_frag_rt = { 0 }; ^ /kisskb/src/net/sched/sch_frag.c:93:10: warning: (near initialization for 'sch_frag_rt.dst') [-Wmissing-braces] Completed OK # rm -rf /kisskb/build/gustavoars_versatile_defconfig_arm-gcc4.9 # Build took: 0:00:51.844130
© Michael Ellerman 2006-2018.