# 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/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 eca94432934fe5f141d084f2e36ee2c0e614cc04 # < make -s -j 24 ARCH=arm64 O=/kisskb/build/linus_arm64-defconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- defconfig # make -s -j 24 ARCH=arm64 O=/kisskb/build/linus_arm64-defconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- arch/arm64/Makefile:27: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum arch/arm64/Makefile:40: LSE atomics not supported by binutils /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c: In function 'sh_mobile_i2c_isr': /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:399:26: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] pd->msg->buf[real_pos] = data; ^ /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:372:16: note: 'data' was declared here unsigned char data; ^ In file included from /kisskb/src/include/linux/rwsem.h:16:0, from /kisskb/src/include/linux/notifier.h:15, from /kisskb/src/include/linux/clk.h:14, from /kisskb/src/drivers/tty/serial/sh-sci.c:24: /kisskb/src/drivers/tty/serial/sh-sci.c: In function 'sci_dma_rx_submit': /kisskb/src/include/linux/spinlock.h:288:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized] _raw_spin_unlock_irqrestore(lock, flags); \ ^ /kisskb/src/drivers/tty/serial/sh-sci.c:1353:16: note: 'flags' was declared here unsigned long flags; ^ Completed OK # rm -rf /kisskb/build/linus_arm64-defconfig_arm64-gcc5.4 # Build took: 0:03:58.437059