diff options
author | Changqi Du <d.changqi@gmail.com> | 2020-01-09 07:40:19 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2020-01-09 23:24:47 +0300 |
commit | dde8010be0a0ed9823cc1ddf75ef8448910821a9 (patch) | |
tree | 52edd1407d51b05a45f4c74dddcb4774e39b00b1 /drivers/bluetooth/btbcm.c | |
parent | 56b084ed6eaa0a6353395deffb601dbd6570a1a5 (diff) | |
download | linux-dde8010be0a0ed9823cc1ddf75ef8448910821a9.tar.xz |
Bluetooth: btbcm : Fix warning about missing blank lines after declarations
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>
Diffstat (limited to 'drivers/bluetooth/btbcm.c')
-rw-r--r-- | drivers/bluetooth/btbcm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/bluetooth/btbcm.c b/drivers/bluetooth/btbcm.c index 0795a49edfae..1f498f358f60 100644 --- a/drivers/bluetooth/btbcm.c +++ b/drivers/bluetooth/btbcm.c @@ -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; } @@ -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; } |