# git rev-parse -q --verify 4cac30138e5ee5afcbc20b2ac5535716f2679b2e^{commit} 4cac30138e5ee5afcbc20b2ac5535716f2679b2e already have revision, skipping fetch # git checkout -q -f -B kisskb 4cac30138e5ee5afcbc20b2ac5535716f2679b2e # git clean -qxdf # < git log -1 # commit 4cac30138e5ee5afcbc20b2ac5535716f2679b2e # Author: Gustavo A. R. Silva # Date: Tue May 16 19:18:01 2023 -0600 # # media: venus: hfi_cmds: Replace fake flex-arrays with flexible-array members # # One-element arrays are deprecated, and we are replacing them with flexible # array members instead. So, replace one-element arrays with flexible-array # members in multiple structures. # # 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/294 # Link: https://gcc.gnu.org/pipermail/gcc-patches/2022-October/602902.html [1] # Reviewed-by: Kees Cook # Signed-off-by: Gustavo A. R. Silva # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 4cac30138e5ee5afcbc20b2ac5535716f2679b2e # < make -s -j 32 ARCH=x86 O=/kisskb/build/gustavoars_x86-allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig # < make -s -j 32 ARCH=x86 O=/kisskb/build/gustavoars_x86-allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 32 ARCH=x86 O=/kisskb/build/gustavoars_x86-allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 32 ARCH=x86 O=/kisskb/build/gustavoars_x86-allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/gustavoars_x86-allmodconfig_x86_64-gcc8 # Build took: 0:23:04.243248