# git rev-parse -q --verify edfea16a6dae9c03bdc97babdd69960093263354^{commit} edfea16a6dae9c03bdc97babdd69960093263354 already have revision, skipping fetch # git checkout -q -f -B kisskb edfea16a6dae9c03bdc97babdd69960093263354 # git clean -qxdf # < git log -1 # commit edfea16a6dae9c03bdc97babdd69960093263354 # Author: Gustavo A. R. Silva # Date: Thu Feb 2 19:27:10 2023 -0600 # # drm/vmwgfx: Replace one-element array with flexible-array member # # One-element arrays are deprecated, and we are replacing them with flexible # array members instead. So, replace one-element array with flexible-array # member in struct vmw_view. # # 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/79 # Link: https://github.com/KSPP/linux/issues/254 # Link: https://gcc.gnu.org/pipermail/gcc-patches/2022-October/602902.html [1] # Reviewed-by: Kees Cook # Reviewed-by: Zack Rusin # Signed-off-by: Gustavo A. R. Silva # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 edfea16a6dae9c03bdc97babdd69960093263354 # < make -s -j 120 ARCH=sparc64 O=/kisskb/build/gustavoars_sparc64-allmodconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.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 120 ARCH=sparc64 O=/kisskb/build/gustavoars_sparc64-allmodconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 120 ARCH=sparc64 O=/kisskb/build/gustavoars_sparc64-allmodconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 120 ARCH=sparc64 O=/kisskb/build/gustavoars_sparc64-allmodconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux- :1517:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/fs/btrfs/inode.c: In function 'btrfs_lookup_dentry': /kisskb/src/fs/btrfs/inode.c:5730:21: error: 'location.type' may be used uninitialized [-Werror=maybe-uninitialized] 5730 | if (location.type == BTRFS_INODE_ITEM_KEY) { | ~~~~~~~~^~~~~ /kisskb/src/fs/btrfs/inode.c:5719:26: note: 'location' declared here 5719 | struct btrfs_key location; | ^~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:252: fs/btrfs/inode.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:494: fs/btrfs] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:494: fs] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:2028: .] Error 2 make: *** [Makefile:226: __sub-make] Error 2 Command 'make -s -j 120 ARCH=sparc64 O=/kisskb/build/gustavoars_sparc64-allmodconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/gustavoars_sparc64-allmodconfig_sparc64-gcc11 # Build took: 0:12:10.510762