Skip to contentSkip to conversation

bluetooth: btbcm : Fix warning about missing blank lines after declarations

PATCH In review [email protected] 2 participants 2 messages Jan 9, 2020 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bluetooth: btbcm : Fix warning about missing blank lines after declarations

From: Changqi Du <[email protected]>

This patches fixes two warnings of checkpatch.pl, both of the type
WARNING: Missing a blank line after declarations

---
 drivers/bluetooth/btbcm.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/bluetooth/btbcm.c +2 -0
index 8e05706fe5d9..1ad98bd65a98 100644
@@ -36,6 +36,7 @@ int btbcm_check_bdaddr(struct hci_dev *hdev)
 			     HCI_INIT_TIMEOUT);
 	if (IS_ERR(skb)) {
 		int err = PTR_ERR(skb);
+
 		bt_dev_err(hdev, "BCM: Reading device address failed (%d)", err);
 		return err;
 	}
@@ -177,6 +178,7 @@ static int btbcm_reset(struct hci_dev *hdev)
 	skb = __hci_cmd_sync(hdev, HCI_OP_RESET, 0, NULL, HCI_INIT_TIMEOUT);
 	if (IS_ERR(skb)) {
 		int err = PTR_ERR(skb);
+
 		bt_dev_err(hdev, "BCM: Reset failed (%d)", err);
 		return err;
 	}
Signature · 1 line
2.14.3 (Apple Git-98)
maintainer
#1 lore raw

Hi Changqi,

Quoted 7 lines

This patches fixes two warnings of checkpatch.pl, both of the type
WARNING: Missing a blank line after declarations

---
drivers/bluetooth/btbcm.c | 2 ++

1 file changed, 2 insertions(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel