# git rev-parse -q --verify bc1abb9e55cedaeac4602426f8fc83fb3a5b1c35^{commit} bc1abb9e55cedaeac4602426f8fc83fb3a5b1c35 already have revision, skipping fetch # git checkout -q -f -B kisskb bc1abb9e55cedaeac4602426f8fc83fb3a5b1c35 # git clean -qxdf # < git log -1 # commit bc1abb9e55cedaeac4602426f8fc83fb3a5b1c35 # Author: Linus Torvalds # Date: Sun Sep 19 10:49:42 2021 -0700 # # dmascc: use proper 'virt_to_bus()' rather than casting to 'int' # # The old dmascc driver depends on the legacy ISA_DMA_API, and blindly # just casts the kernel virtual address to 'int' for set_dma_addr(). # # That works only incidentally, and because the high bits of the address # will be ignored anyway. And on 64-bit architectures it causes warnings. # # Admittedly, 64-bit architectures with ISA are basically dead - I think # the only example of this is alpha, and nobody would ever use the dmascc # driver there. But hey, the fix is easy enough, the end result is # cleaner, and it's yet another configuration that now builds without # warnings. # # If somebody actually uses this driver on an alpha and this fixes it for # you, please email me. Because that is just incredibly bizarre. # # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 bc1abb9e55cedaeac4602426f8fc83fb3a5b1c35 # < make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=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_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # Added to kconfig CONFIG_BPF_PRELOAD=n # Added to kconfig # < make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig .config:7056:warning: override: reassigning to symbol STANDALONE .config:7057:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:7059:warning: override: reassigning to symbol GCC_PLUGINS # make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- arch/x86/crypto/sm4-aesni-avx-asm_64.o: warning: objtool: sm4_aesni_avx_crypt8()+0x8: sibling call from callable instruction with modified stack frame /kisskb/src/kernel/kcsan/kcsan_test.c: In function 'test_atomic_builtins': /kisskb/src/kernel/kcsan/kcsan_test.c:953:17: warning: 'atomic_thread_fence' is not supported with '-fsanitize=thread' [-Wtsan] 953 | __atomic_thread_fence(__ATOMIC_SEQ_CST); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/string.h:262, from /kisskb/src/include/linux/bitmap.h:10, from /kisskb/src/include/linux/cpumask.h:12, from /kisskb/src/include/linux/smp.h:13, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/mutex.h:17, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/of.h:17, from /kisskb/src/include/linux/irqdomain.h:35, from /kisskb/src/include/linux/acpi.h:13, from /kisskb/src/drivers/platform/x86/lg-laptop.c:10: In function 'strlen', inlined from 'acpi_add' at /kisskb/src/drivers/platform/x86/lg-laptop.c:658:6, inlined from 'acpi_add' at /kisskb/src/drivers/platform/x86/lg-laptop.c:635:12: /kisskb/src/include/linux/fortify-string.h:25:33: warning: argument 1 null where non-null expected [-Wnonnull] 25 | #define __underlying_strlen __builtin_strlen | ^ /kisskb/src/include/linux/fortify-string.h:60:24: note: in expansion of macro '__underlying_strlen' 60 | return __underlying_strlen(p); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/platform/x86/lg-laptop.c: In function 'acpi_add': /kisskb/src/include/linux/fortify-string.h:25:33: note: in a call to built-in function '__builtin_strlen' 25 | #define __underlying_strlen __builtin_strlen | ^ /kisskb/src/include/linux/fortify-string.h:60:24: note: in expansion of macro '__underlying_strlen' 60 | return __underlying_strlen(p); | ^~~~~~~~~~~~~~~~~~~ In function 'strlen', inlined from 'acpi_add' at /kisskb/src/drivers/platform/x86/lg-laptop.c:674:8, inlined from 'acpi_add' at /kisskb/src/drivers/platform/x86/lg-laptop.c:635:12: /kisskb/src/include/linux/fortify-string.h:25:33: warning: argument 1 null where non-null expected [-Wnonnull] 25 | #define __underlying_strlen __builtin_strlen | ^ /kisskb/src/include/linux/fortify-string.h:60:24: note: in expansion of macro '__underlying_strlen' 60 | return __underlying_strlen(p); | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/platform/x86/lg-laptop.c: In function 'acpi_add': /kisskb/src/include/linux/fortify-string.h:25:33: note: in a call to built-in function '__builtin_strlen' 25 | #define __underlying_strlen __builtin_strlen | ^ /kisskb/src/include/linux/fortify-string.h:60:24: note: in expansion of macro '__underlying_strlen' 60 | return __underlying_strlen(p); | ^~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 # Build took: 0:07:20.972407