# git rev-parse -q --verify 40ca06d71d60677a8424798610c97a46e4140a21^{commit} 40ca06d71d60677a8424798610c97a46e4140a21 already have revision, skipping fetch # git checkout -q -f -B kisskb 40ca06d71d60677a8424798610c97a46e4140a21 # git clean -qxdf # < git log -1 # commit 40ca06d71d60677a8424798610c97a46e4140a21 # Author: Gustavo A. R. Silva # Date: Wed Feb 16 13:53:06 2022 -0600 # # uapi: wireless: Replace zero-length array with flexible-array member # # Zero-length and one-element arrays are deprecated, and we are moving # towards adopting C99 flexible-array members, instead. # # Address the following warnings seen under GCC-13 and # -fstrict-flex-arrays=3 enabled: # drivers/staging/ks7010/ks_wlan_net.c:1597:50: warning: array subscript 0 is outside array bounds of ‘__u8[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=] # drivers/staging/ks7010/ks_wlan_net.c:1603:61: warning: array subscript 16 is outside array bounds of ‘__u8[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=] # drivers/staging/ks7010/ks_wlan_net.c:1604:61: warning: array subscript 24 is outside array bounds of ‘__u8[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=] # drivers/staging/ks7010/ks_wlan_net.c:1600:61: warning: array subscript 16 is outside array bounds of ‘__u8[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=] # drivers/staging/ks7010/ks_wlan_net.c:1586:50: warning: array subscript 0 is outside array bounds of ‘__u8[0]’ {aka ‘unsigned char[]’} [-Warray-bounds=] # # This helps with the ongoing efforts to tighten the FORTIFY_SOURCE # routines on memcpy() and help us make progress towards globally # enabling -fstrict-flex-arrays=3 [1]. # # This results in no differences in binary output. # # Link: https://github.com/KSPP/linux/issues/21 # Link: https://github.com/KSPP/linux/issues/261 # Link: https://gcc.gnu.org/pipermail/gcc-patches/2022-October/602902.html [1] # Reviewed-by: Kees Cook # Signed-off-by: Gustavo A. R. Silva # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 40ca06d71d60677a8424798610c97a46e4140a21 # < make -s -j 40 ARCH=sparc64 O=/kisskb/build/gustavoars_sparc64-allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/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 40 ARCH=sparc64 O=/kisskb/build/gustavoars_sparc64-allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 40 ARCH=sparc64 O=/kisskb/build/gustavoars_sparc64-allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 40 ARCH=sparc64 O=/kisskb/build/gustavoars_sparc64-allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] ERROR: modpost: "__ltdf2" [drivers/phy/mediatek/phy-mtk-hdmi-drv.ko] undefined! ERROR: modpost: "__floatunsidf" [drivers/phy/mediatek/phy-mtk-hdmi-drv.ko] undefined! ERROR: modpost: "__gedf2" [drivers/phy/mediatek/phy-mtk-hdmi-drv.ko] undefined! make[2]: *** [/kisskb/src/scripts/Makefile.modpost:136: Module.symvers] Error 1 make[1]: *** [/kisskb/src/Makefile:1978: modpost] Error 2 make: *** [Makefile:226: __sub-make] Error 2 Command 'make -s -j 40 ARCH=sparc64 O=/kisskb/build/gustavoars_sparc64-allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/gustavoars_sparc64-allmodconfig_sparc64-gcc5 # Build took: 0:09:40.417739