# 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 # 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 # < /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