]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: fix passkey uninitialized when used
authorHoward Chung <howardchung@google.com>
Thu, 20 Feb 2020 03:17:29 +0000 (11:17 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 19 Feb 2020 19:35:46 +0000 (20:35 +0100)
commit8e445e44bfffcf01f9223d65fcbe9a54ca57e4db
treef31a7c1967294e780d403049f60ab44a590deb02
parent4d2ba3ae8f6190fc66b9ec76f5b4d7bf0e2aa90c
Bluetooth: fix passkey uninitialized when used

This patch fix the issue: warning:variable 'passkey' is uninitialized
when used here

Link: https://groups.google.com/forum/#!topic/clang-built-linux/kyRKCjRsGoU
Fixes: 0dc285c91e91 ("Bluetooth: secure bluetooth stack from bluedump attack")
Reported-by: kbuild test robot <lkp@intel.com>
Suggested-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Howard Chung <howardchung@google.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/smp.c