# git rev-parse -q --verify 0811296c55b7f0c5b038410828e37a1a1bf04463^{commit} 0811296c55b7f0c5b038410828e37a1a1bf04463 already have revision, skipping fetch # git checkout -q -f -B kisskb 0811296c55b7f0c5b038410828e37a1a1bf04463 # git clean -qxdf # < git log -1 # commit 0811296c55b7f0c5b038410828e37a1a1bf04463 # Author: Gustavo A. R. Silva # Date: Sat Sep 3 00:08:51 2022 +0100 # # exportfs: Replace zero-length array 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 array # declaration in struct fid with the new DECLARE_FLEX_ARRAY() # helper macro. # # This helper allows for a flexible-array member in a union. # # Link: https://github.com/KSPP/linux/issues/21 # Link: https://github.com/KSPP/linux/issues/193 # Link: https://github.com/KSPP/linux/issues/197 # 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-11.1.0-nolibc/s390-linux/bin/s390-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux-ld --version # < git log --format=%s --max-count=1 0811296c55b7f0c5b038410828e37a1a1bf04463 # < make -s -j 48 ARCH=s390 O=/kisskb/build/gustavoars_s390-allmodconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # < make -s -j 48 ARCH=s390 O=/kisskb/build/gustavoars_s390-allmodconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- help # make -s -j 48 ARCH=s390 O=/kisskb/build/gustavoars_s390-allmodconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- olddefconfig # make -s -j 48 ARCH=s390 O=/kisskb/build/gustavoars_s390-allmodconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- Completed OK # rm -rf /kisskb/build/gustavoars_s390-allmodconfig_s390x-gcc11 # Build took: 0:34:16.055975