# 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/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 eca94432934fe5f141d084f2e36ee2c0e614cc04 # < make -s -j 48 ARCH=sh O=/kisskb/build/linus_sh7710voipgw_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- sh7710voipgw_defconfig # make -s -j 48 ARCH=sh O=/kisskb/build/linus_sh7710voipgw_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:385: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:388: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:194:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:331:21: note: 'pdeo' was declared here /kisskb/src/drivers/sh/clk/cpg.c: In function 'r8': /kisskb/src/drivers/sh/clk/cpg.c:41:2: warning: passing argument 1 of 'ioread8' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:29:21: note: expected 'void *' but argument is of type 'const void *' /kisskb/src/drivers/sh/clk/cpg.c: In function 'r16': /kisskb/src/drivers/sh/clk/cpg.c:46:2: warning: passing argument 1 of 'ioread16' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:30:21: note: expected 'void *' but argument is of type 'const void *' /kisskb/src/drivers/sh/clk/cpg.c: In function 'r32': /kisskb/src/drivers/sh/clk/cpg.c:51:2: warning: passing argument 1 of 'ioread32' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:32:21: note: expected 'void *' but argument is of type 'const void *' Kernel: arch/sh/boot/zImage is ready Completed OK # rm -rf /kisskb/build/linus_sh7710voipgw_defconfig_sh4 # Build took: 0:00:26.428709