Skip to content

Commit

Permalink
Bluetooth: btbcm : Fix warning about missing blank lines after declar…
Browse files Browse the repository at this point in the history
…ations

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

Signed-off-by: Changqi Du <d.changqi@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
  • Loading branch information
Changqi Du authored and Marcel Holtmann committed Jan 9, 2020
1 parent 56b084e commit dde8010
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/bluetooth/btbcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -223,6 +224,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;
}
Expand Down

0 comments on commit dde8010

Please sign in to comment.