Bluetooth: btusb: Fix two coding style issues
Marcel Holtmann
maintainerPATCH 1/1 Bluetooth: btusb: Fix two coding style issues
ERROR: spaces required around that '<' (ctx:WxV)
+ if (err <0)
^
ERROR: code indent should use tabs where possible
+^I^I^I^I sizeof(ver));$
Signed-off-by Marcel Holtmann <[email protected]>
--- drivers/bluetooth/btusb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/bluetooth/btusb.c +2 -2
@@ -916,7 +916,7 @@ static int btusb_open(struct hci_dev *hdev)*/ if (data->setup_on_usb) { err = data->setup_on_usb (hdev); -if (err <0 ) +if (err <0 )return err; }
@@ -2973,7 +2973,7 @@ static int btusb_setup_qca(struct hci_dev *hdev)int i, err; err =btusb_qca_send_vendor_req (hdev,QCA_GET_TARGET_VERSION , &ver, -sizeof (ver)); +sizeof (ver));if (err <0 )return err;
Signature · 1 line
2.1.0
Johan Hedberg
AppliedHi Marcel,
Quoted 11 lines · Marcel Holtmann
ERROR: spaces required around that '<' (ctx:WxV)
(quoted diff) +1
-0+ if (err <0) ^ERROR: code indent should use tabs where possible
+^I^I^I^I sizeof(ver));$Signed-off-by Marcel Holtmann <[email protected]>--- drivers/bluetooth/btusb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Applied to bluetooth-next. Thanks.
Johan