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

Stephen Rothwell
2019-11-22T00:07:33Z

[-- Attachment #1: Type: text/plain, Size: 503 bytes --]

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")