# git rev-parse -q --verify b942a520d9e43bc31f0808d2f2267a1ddba75518^{commit} b942a520d9e43bc31f0808d2f2267a1ddba75518 already have revision, skipping fetch # git checkout -q -f -B kisskb b942a520d9e43bc31f0808d2f2267a1ddba75518 # git clean -qxdf # < git log -1 # commit b942a520d9e43bc31f0808d2f2267a1ddba75518 # Author: Gustavo A. R. Silva # Date: Mon Sep 26 16:43:15 2022 -0500 # # bcache: Replace zero-length arrays with DECLARE_FLEX_ARRAY() helper # # Zero-length arrays are deprecated and we are moving towards adopting # C99 flexible-array members, instead. So, replace zero-length arrays # declarations in anonymous union with the new DECLARE_FLEX_ARRAY() # helper macro. # # This helper allows for flexible-array members in unions. # # Link: https://github.com/KSPP/linux/issues/193 # Link: https://github.com/KSPP/linux/issues/213 # Link: https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html # 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 b942a520d9e43bc31f0808d2f2267a1ddba75518 # < make -s -j 32 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 32 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 32 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 32 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- :1517:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c: In function 'dc_stream_remove_writeback': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c:543:55: error: array subscript is above array bounds [-Werror=array-bounds] stream->writeback_info[j] = stream->writeback_info[i]; ^ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:252: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:504: drivers/gpu/drm/amd/amdgpu] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:504: drivers/gpu/drm] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:504: drivers/gpu] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:504: drivers] Error 2 make[1]: *** [/kisskb/src/Makefile:2008: .] Error 2 make: *** [Makefile:242: __sub-make] Error 2 Command 'make -s -j 32 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:11:36.994549