# git rev-parse -q --verify 9b3b353ef330e20bc2d99bf3165cc044cff26a09^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/linus master # git rev-parse -q --verify 9b3b353ef330e20bc2d99bf3165cc044cff26a09^{commit} 9b3b353ef330e20bc2d99bf3165cc044cff26a09 # git checkout -q -f -B kisskb 9b3b353ef330e20bc2d99bf3165cc044cff26a09 # git clean -qxdf # < git log -1 # commit 9b3b353ef330e20bc2d99bf3165cc044cff26a09 # Author: Linus Torvalds # Date: Mon Sep 27 11:26:21 2021 -0700 # # vboxfs: fix broken legacy mount signature checking # # Commit 9d682ea6bcc7 ("vboxsf: Fix the check for the old binary # mount-arguments struct") was meant to fix a build error due to sign # mismatch in 'char' and the use of character constants, but it just moved # the error elsewhere, in that on some architectures characters and signed # and on others they are unsigned, and that's just how the C standard # works. # # The proper fix is a simple "don't do that then". The code was just # being silly and odd, and it should never have cared about signed vs # unsigned characters in the first place, since what it is testing is not # four "characters", but four bytes. # # And the way to compare four bytes is by using "memcmp()". # # Which compilers will know to just turn into a single 32-bit compare with # a constant, as long as you don't have crazy debug options enabled. # # Link: https://lore.kernel.org/lkml/20210927094123.576521-1-arnd@kernel.org/ # Cc: Arnd Bergmann # Cc: Hans de Goede # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 9b3b353ef330e20bc2d99bf3165cc044cff26a09 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # < make -s -j 80 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 80 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:3972:warning: override: reassigning to symbol PPC64 .config:3973:warning: override: reassigning to symbol PPC_DISABLE_WERROR .config:3974:warning: override: reassigning to symbol SECTION_MISMATCH_WARN_ONLY .config:3975:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:3977:warning: override: reassigning to symbol GCC_PLUGINS # make -s -j 80 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 # Build took: 0:05:33.485838