All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Bluetooth:btmtksdio Fixed switch and case should be at the same indent
@ 2020-12-15  9:47 Jagdish Tirumala
  2020-12-15 11:10 ` bluez.test.bot
  2020-12-18 21:44 ` [PATCH] " Marcel Holtmann
  0 siblings, 2 replies; 3+ messages in thread
From: Jagdish Tirumala @ 2020-12-15  9:47 UTC (permalink / raw)
  To: marcel, johan.hedberg, matthias.bgg
  Cc: linux-bluetooth, linux-kernel, Jagdish Tirumala

Switch and case where not properly aligned

Signed-off-by: Jagdish Tirumala <t.jag587@gmail.com>
---
 drivers/bluetooth/btmtksdio.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/drivers/bluetooth/btmtksdio.c b/drivers/bluetooth/btmtksdio.c
index ba45c59bd9f3..605b0cc84697 100644
--- a/drivers/bluetooth/btmtksdio.c
+++ b/drivers/bluetooth/btmtksdio.c
@@ -442,15 +442,15 @@ static int btmtksdio_rx_packet(struct btmtksdio_dev *bdev, u16 rx_size)
 	}
 
 	switch ((&pkts[i])->lsize) {
-		case 1:
-			dlen = skb->data[(&pkts[i])->loff];
-			break;
-		case 2:
-			dlen = get_unaligned_le16(skb->data +
+	case 1:
+		dlen = skb->data[(&pkts[i])->loff];
+		break;
+	case 2:
+		dlen = get_unaligned_le16(skb->data +
 						  (&pkts[i])->loff);
-			break;
-		default:
-			goto err_kfree_skb;
+		break;
+	default:
+		goto err_kfree_skb;
 	}
 
 	pad_size = skb->len - (&pkts[i])->hlen -  dlen;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: Bluetooth:btmtksdio Fixed switch and case should be at the same indent
  2020-12-15  9:47 [PATCH] Bluetooth:btmtksdio Fixed switch and case should be at the same indent Jagdish Tirumala
@ 2020-12-15 11:10 ` bluez.test.bot
  2020-12-18 21:44 ` [PATCH] " Marcel Holtmann
  1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2020-12-15 11:10 UTC (permalink / raw)
  To: linux-bluetooth, t.jag587

[-- Attachment #1: Type: text/plain, Size: 2037 bytes --]

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=402117

---Test result---

##############################
    Test: CheckPatch - PASS
    

    ##############################
    Test: CheckGitLint - FAIL
    workflow: Add workflow files for ci
1: T1 Title exceeds max length (92>72): "Merge ca6e9eb5503c064e6a4ab88cbebe0c5a533df12f into e1a9e1f4f1401a7755a0312c791ef77478cbd821"
3: B6 Body message is missing

Bluetooth:btmtksdio Fixed switch and case should be at the same indent
1: T1 Title exceeds max length (92>72): "Merge ca6e9eb5503c064e6a4ab88cbebe0c5a533df12f into e1a9e1f4f1401a7755a0312c791ef77478cbd821"
3: B6 Body message is missing


    ##############################
    Test: CheckBuildK - PASS
    

    ##############################
    Test: CheckTestRunner: Setup - PASS
    

    ##############################
    Test: CheckTestRunner: l2cap-tester - PASS
    Total: 40, Passed: 34 (85.0%), Failed: 0, Not Run: 6

    ##############################
    Test: CheckTestRunner: bnep-tester - PASS
    Total: 1, Passed: 1 (100.0%), Failed: 0, Not Run: 0

    ##############################
    Test: CheckTestRunner: mgmt-tester - FAIL
    Total: 416, Passed: 394 (94.7%), Failed: 8, Not Run: 14

    ##############################
    Test: CheckTestRunner: rfcomm-tester - PASS
    Total: 9, Passed: 9 (100.0%), Failed: 0, Not Run: 0

    ##############################
    Test: CheckTestRunner: sco-tester - PASS
    Total: 8, Passed: 8 (100.0%), Failed: 0, Not Run: 0

    ##############################
    Test: CheckTestRunner: smp-tester - PASS
    Total: 8, Passed: 8 (100.0%), Failed: 0, Not Run: 0

    ##############################
    Test: CheckTestRunner: userchan-tester - PASS
    Total: 3, Passed: 3 (100.0%), Failed: 0, Not Run: 0

    

---
Regards,
Linux Bluetooth


[-- Attachment #2: l2cap-tester.log --]
[-- Type: application/octet-stream, Size: 43344 bytes --]

[-- Attachment #3: bnep-tester.log --]
[-- Type: application/octet-stream, Size: 3534 bytes --]

[-- Attachment #4: mgmt-tester.log --]
[-- Type: application/octet-stream, Size: 548209 bytes --]

[-- Attachment #5: rfcomm-tester.log --]
[-- Type: application/octet-stream, Size: 11654 bytes --]

[-- Attachment #6: sco-tester.log --]
[-- Type: application/octet-stream, Size: 9890 bytes --]

[-- Attachment #7: smp-tester.log --]
[-- Type: application/octet-stream, Size: 11801 bytes --]

[-- Attachment #8: userchan-tester.log --]
[-- Type: application/octet-stream, Size: 5432 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Bluetooth:btmtksdio Fixed switch and case should be at the same indent
  2020-12-15  9:47 [PATCH] Bluetooth:btmtksdio Fixed switch and case should be at the same indent Jagdish Tirumala
  2020-12-15 11:10 ` bluez.test.bot
@ 2020-12-18 21:44 ` Marcel Holtmann
  1 sibling, 0 replies; 3+ messages in thread
From: Marcel Holtmann @ 2020-12-18 21:44 UTC (permalink / raw)
  To: Jagdish Tirumala
  Cc: Johan Hedberg, matthias.bgg, linux-bluetooth, linux-kernel

Hi Jagdish,

> Switch and case where not properly aligned
> 
> Signed-off-by: Jagdish Tirumala <t.jag587@gmail.com>
> ---
> drivers/bluetooth/btmtksdio.c | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-18 21:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-15  9:47 [PATCH] Bluetooth:btmtksdio Fixed switch and case should be at the same indent Jagdish Tirumala
2020-12-15 11:10 ` bluez.test.bot
2020-12-18 21:44 ` [PATCH] " Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.