Commit d36dfb3e authored by Fabio Estevam's avatar Fabio Estevam Committed by Marcel Holtmann
Browse files

Bluetooth: hci_ldisc: Provide a 'default' switch case



When both CONFIG_BT_HCIUART_INTEL and CONFIG_BT_HCIUART_BCM are not
selected, sparse complains like this:

drivers/bluetooth/hci_ldisc.c:437:9: warning: switch with no cases

Fix the sparse warning by proving a default switch case.

Signed-off-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent d666fc54
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -447,6 +447,8 @@ static int hci_uart_setup(struct hci_dev *hdev)
		btbcm_check_bdaddr(hdev);
		break;
#endif
	default:
		break;
	}

done: