]> 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)
commit7f1e1edbe97c98dc7bb2511111f88ad8f839c850
treef31a7c1967294e780d403049f60ab44a590deb02
parenta83f89d37f981cedd2e217526e2fc2f2239d17f2
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: a530b454a92c ("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