# git rev-parse -q --verify eca94432934fe5f141d084f2e36ee2c0e614cc04^{commit} eca94432934fe5f141d084f2e36ee2c0e614cc04 already have revision, skipping fetch # git checkout -q -f -B kisskb eca94432934fe5f141d084f2e36ee2c0e614cc04 # git clean -qxdf # < git log -1 # commit eca94432934fe5f141d084f2e36ee2c0e614cc04 # Author: Matias Karhumaa # Date: Tue Jul 2 16:35:09 2019 +0200 # # Bluetooth: Fix faulty expression for minimum encryption key size check # # Fix minimum encryption key size check so that HCI_MIN_ENC_KEY_SIZE is # also allowed as stated in the comment. # # This bug caused connection problems with devices having maximum # encryption key size of 7 octets (56-bit). # # Fixes: 693cd8ce3f88 ("Bluetooth: Fix regression with minimum encryption key size alignment") # Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=203997 # Signed-off-by: Matias Karhumaa # Cc: stable@vger.kernel.org # Signed-off-by: Marcel Holtmann # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 eca94432934fe5f141d084f2e36ee2c0e614cc04 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig KCONFIG_SEED=0x3E1C6B7C # 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 # yes \n | make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/arch/powerpc/xmon/xmon.c:63: /kisskb/src/arch/powerpc/xmon/dis-asm.h: In function 'print_insn_powerpc': /kisskb/src/arch/powerpc/xmon/dis-asm.h:16:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("%.8x", insn); ~~~^ ~~~~ %.8lx /kisskb/src/arch/powerpc/xmon/dis-asm.h: In function 'print_insn_spu': /kisskb/src/arch/powerpc/xmon/dis-asm.h:22:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("%.8x", insn); ~~~^ ~~~~ %.8lx /kisskb/src/kernel/locking/lockdep.c:2821:13: warning: 'print_lock_trace' defined but not used [-Wunused-function] static void print_lock_trace(struct lock_trace *trace, unsigned int spaces) ^~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kernel/iommu.c:136:30: warning: 'fail_iommu_bus_notifier' defined but not used [-Wunused-variable] static struct notifier_block fail_iommu_bus_notifier = { ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/net/ethernet/aurora/nb8800.c:30: /kisskb/src/drivers/net/ethernet/aurora/nb8800.h:92: warning: "TCR_DIE" redefined #define TCR_DIE BIT(7) In file included from /kisskb/src/arch/powerpc/include/asm/reg.h:21, from /kisskb/src/arch/powerpc/include/asm/processor.h:9, from /kisskb/src/arch/powerpc/include/asm/thread_info.h:22, from /kisskb/src/include/linux/thread_info.h:38, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/drivers/net/ethernet/aurora/nb8800.c:13: /kisskb/src/arch/powerpc/include/asm/reg_booke.h:551: note: this is the location of the previous definition #define TCR_DIE TCR_PIE /* DEC Interrupt Enable */ WARNING: vmlinux.o(.text+0x40e): Section mismatch in reference from the variable start_here_multiplatform to the function .init.text:.early_setup() The function start_here_multiplatform() references the function __init .early_setup(). This is often because start_here_multiplatform lacks a __init annotation or the annotation of .early_setup is wrong. Completed OK # rm -rf /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc8 # Build took: 0:01:58.964081