linux-next: build warning after merge of the bluetooth tree

From: Stephen Rothwell
Date: Thu Nov 21 2019 - 19:07:38 EST


Hi all,

After merging the bluetooth tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

net/bluetooth/hci_core.c: In function 'hci_dev_do_open':
net/bluetooth/hci_core.c:1447:8: warning: 'invalid_bdaddr' may be used uninitialized in this function [-Wmaybe-uninitialized]
1447 | bool invalid_bdaddr;
| ^~~~~~~~~~~~~~

Introduced by commit

cadbc2f459be ("Bluetooth: Move error check into the right if-clause")

--
Cheers,
Stephen Rothwell

Attachment: pgpWNNlRz_fQC.pgp
Description: OpenPGP digital signature