# git rev-parse -q --verify 06919d226d01132c03d851966d4df3870fa1b55a^{commit} # git fetch -q -n -f https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git for-next/kspp # git rev-parse -q --verify 06919d226d01132c03d851966d4df3870fa1b55a^{commit} 06919d226d01132c03d851966d4df3870fa1b55a # git checkout -q -f -B kisskb 06919d226d01132c03d851966d4df3870fa1b55a # git clean -qxdf # < git log -1 # commit 06919d226d01132c03d851966d4df3870fa1b55a # Author: Gustavo A. R. Silva # Date: Sat Sep 3 00:17:18 2022 +0100 # # mm/memremap: 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 dev_pagemap with the new DECLARE_FLEX_ARRAY() # helper macro. # # This helper allows for a flexible-array member in a union. # # Also, this addresses multiple warnings reported when building # with Clang-15 and -Wzero-length-array. # # Link: https://github.com/KSPP/linux/issues/193 # 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/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 06919d226d01132c03d851966d4df3870fa1b55a # < make -s -j 24 ARCH=arm64 O=/kisskb/build/gustavoars_arm64-allmodconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- allmodconfig # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig # < make -s -j 24 ARCH=arm64 O=/kisskb/build/gustavoars_arm64-allmodconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 24 ARCH=arm64 O=/kisskb/build/gustavoars_arm64-allmodconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig # make -s -j 24 ARCH=arm64 O=/kisskb/build/gustavoars_arm64-allmodconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- Completed OK # rm -rf /kisskb/build/gustavoars_arm64-allmodconfig_arm64-gcc11 # Build took: 0:57:20.087158