Re: [Bluez PATCH v3] bluetooth: fix passkey uninitialized when used

From: Marcel Holtmann
Date: Thu Feb 20 2020 - 02:33:22 EST


Hi Howard,

> This patch fix the issue: warning:variable 'passkey' is uninitialized
> when used here
>
> Link: https://groups.google.com/forum/#!topic/clang-built-linux/kyRKCjRsGoU
>
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
>
> Suggested-by: Marcel Holtmann <marcel@xxxxxxxxxxxx>
>
> Signed-off-by: Howard Chung <howardchung@xxxxxxxxxx>
>
> ---
>
> Changes in v3:
> - rephrase the commit message
>
> Changes in v2:
> - refactor code
>
> net/bluetooth/smp.c | 19 ++++++++++---------
> 1 file changed, 10 insertions(+), 9 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel