# git rev-parse -q --verify 06919d226d01132c03d851966d4df3870fa1b55a^{commit} 06919d226d01132c03d851966d4df3870fa1b55a already have revision, skipping fetch # 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/xtensa-linux/bin/xtensa-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/xtensa-linux/bin/xtensa-linux-ld --version # < git log --format=%s --max-count=1 06919d226d01132c03d851966d4df3870fa1b55a # < make -s -j 160 ARCH=xtensa O=/kisskb/build/gustavoars_xtensa-allmodconfig_xtensa-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/xtensa-linux/bin/xtensa-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 160 ARCH=xtensa O=/kisskb/build/gustavoars_xtensa-allmodconfig_xtensa-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/xtensa-linux/bin/xtensa-linux- help # make -s -j 160 ARCH=xtensa O=/kisskb/build/gustavoars_xtensa-allmodconfig_xtensa-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/xtensa-linux/bin/xtensa-linux- olddefconfig # make -s -j 160 ARCH=xtensa O=/kisskb/build/gustavoars_xtensa-allmodconfig_xtensa-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/xtensa-linux/bin/xtensa-linux- /kisskb/src/kernel/kcsan/kcsan_test.c: In function '__report_matches': /kisskb/src/kernel/kcsan/kcsan_test.c:257:1: error: the frame size of 1680 bytes is larger than 1536 bytes [-Werror=frame-larger-than=] 257 | } | ^ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:252: kernel/kcsan/kcsan_test.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:504: kernel/kcsan] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:504: kernel] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:2008: .] Error 2 make: *** [Makefile:242: __sub-make] Error 2 Command 'make -s -j 160 ARCH=xtensa O=/kisskb/build/gustavoars_xtensa-allmodconfig_xtensa-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/xtensa-linux/bin/xtensa-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/gustavoars_xtensa-allmodconfig_xtensa-gcc11 # Build took: 0:15:12.494548