# 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/hppa64-linux/bin/hppa64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux-ld --version # < git log --format=%s --max-count=1 eca94432934fe5f141d084f2e36ee2c0e614cc04 # < make -s -j 24 ARCH=parisc O=/kisskb/build/linus_a500_defconfig_parisc64 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux- a500_defconfig # make -s -j 24 ARCH=parisc O=/kisskb/build/linus_a500_defconfig_parisc64 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux- In file included from /kisskb/src/arch/parisc/include/asm/atomic.h:10, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/arch/parisc/include/asm/bitops.h:13, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/scsi/scsi_debug.c:18: /kisskb/src/drivers/scsi/scsi_debug.c: In function 'resp_start_stop': /kisskb/src/arch/parisc/include/asm/cmpxchg.h:48:3: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))) /kisskb/src/arch/parisc/include/asm/atomic.h:78:30: note: in expansion of macro 'xchg' #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) ^~~~ /kisskb/src/drivers/scsi/scsi_debug.c:1618:2: note: in expansion of macro 'atomic_xchg' atomic_xchg(&devip->stopped, stop); ^~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus_a500_defconfig_parisc64 # Build took: 0:01:32.124968