]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Bluetooth: btbcm : Fix warning about missing blank lines after declarations
authorChangqi Du <d.changqi@gmail.com>
Thu, 9 Jan 2020 04:40:19 +0000 (23:40 -0500)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 9 Jan 2020 20:24:47 +0000 (21:24 +0100)
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>
drivers/bluetooth/btbcm.c

index 0795a49edfaef6dcb776bd916d00e85678792eeb..1f498f358f607e59348c5500c2ba34725bb06900 100644 (file)
@@ -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;
        }