# git rev-parse -q --verify 3685a5b63db143f0beef3dead23cdd96a594b93b^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/mirror/linux-kbuild.git for-next remote: warning: multi-pack bitmap is missing required reverse index # git rev-parse -q --verify 3685a5b63db143f0beef3dead23cdd96a594b93b^{commit} 3685a5b63db143f0beef3dead23cdd96a594b93b # git checkout -q -f -B kisskb 3685a5b63db143f0beef3dead23cdd96a594b93b # git clean -qxdf # < git log -1 # commit 3685a5b63db143f0beef3dead23cdd96a594b93b # Author: Borislav Petkov (AMD) # Date: Wed Jul 5 00:19:51 2023 +0200 # # kbuild: Enable -Wenum-conversion by default # # This diagnostic checks whether there is a type mismatch when # converting enums (assign an enum of type A to an enum of type B, for # example) and it caught a legit issue recently. The reason it didn't show # is because that warning is enabled only with -Wextra with GCC. Clang, # however, enables it by default. # # GCC folks were considering enabling it by default but it was too noisy # back then: # # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78736 # # Now that due to clang all those warnings have been fixed, enable it with # GCC too. # # allmodconfig tests done with: x86, arm{,64}, powerpc{,64}, riscv # crossbuilds. # # Signed-off-by: Borislav Petkov (AMD) # Reviewed-by: Nathan Chancellor # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 3685a5b63db143f0beef3dead23cdd96a594b93b # make -s -j 32 ARCH=arm64 O=/kisskb/build/kbuild_defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux- defconfig # < make -s -j 32 ARCH=arm64 O=/kisskb/build/kbuild_defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 32 ARCH=arm64 O=/kisskb/build/kbuild_defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig # make -s -j 32 ARCH=arm64 O=/kisskb/build/kbuild_defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/aarch64-linux/bin/aarch64-linux- Completed OK # rm -rf /kisskb/build/kbuild_defconfig_arm64-gcc11 # Build took: 0:06:09.525929