* [PATCH] Bluetooth:btmtksdio Fixed switch and case should be at the same indent
@ 2020-12-15 9:47 Jagdish Tirumala
2020-12-18 21:44 ` Marcel Holtmann
0 siblings, 1 reply; 2+ 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] 2+ 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-18 21:44 ` Marcel Holtmann
0 siblings, 0 replies; 2+ 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] 2+ messages in thread
end of thread, other threads:[~2020-12-18 21:45 UTC | newest]
Thread overview: 2+ 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-18 21:44 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).