Skip to contentSkip to conversation

staging: rtl8192e: spaces preferred around that '<<' (ctx:VxV)

PATCH In review Aruna Hewapathirane 2 participants 2 messages Sep 19, 2022 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 staging: rtl8192e: spaces preferred around that '<<' (ctx:VxV)

This patch fixes 2 checkpatch CHECK issues

---
 drivers/staging/rtl8192e/rtllib_tx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rtl8192e/rtllib_tx.c +2 -2
index f651947f6b44..933f347fc17e 100644
@@ -818,10 +818,10 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev)
 					 cpu_to_le16(rtllib_query_seqnum(ieee, skb_frag,
 							     header.addr1));
 				frag_hdr->seq_ctl =
-					 cpu_to_le16(le16_to_cpu(frag_hdr->seq_ctl)<<4 | i);
+					 cpu_to_le16(le16_to_cpu(frag_hdr->seq_ctl) << 4 | i);
 			} else {
 				frag_hdr->seq_ctl =
-					 cpu_to_le16(ieee->seq_ctrl[0]<<4 | i);
+					 cpu_to_le16(ieee->seq_ctrl[0] << 4 | i);
 			}
 			/* Put a SNAP header on the first fragment */
 			if (i == 0) {
Signature · 1 line
2.30.2
#1 lore raw
Quoted 14 lines · Aruna Hewapathirane

This patch fixes 2 checkpatch CHECK issues

---
  drivers/staging/rtl8192e/rtllib_tx.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rtl8192e/rtllib_tx.c +0 -0
index f651947f6b44..933f347fc17e 100644
@@ -818,10 +818,10 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev)
  					 cpu_to_le16(rtllib_query_seqnum(ieee, skb_frag,
  							     header.addr1));

drivers/staging/rtl8192e/rtllib_tx.c static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev) · line 827

Quoted 10 lines
drivers/staging/rtl8192e/rtllib_tx.c +2 -2
  				frag_hdr->seq_ctl =
-					 cpu_to_le16(le16_to_cpu(frag_hdr->seq_ctl)<<4 | i);
+					 cpu_to_le16(le16_to_cpu(frag_hdr->seq_ctl) << 4 | i);
  			} else {
  				frag_hdr->seq_ctl =
-					 cpu_to_le16(ieee->seq_ctrl[0]<<4 | i);
+					 cpu_to_le16(ieee->seq_ctrl[0] << 4 | i);
  			}
  			/* Put a SNAP header on the first fragment */
  			if (i == 0) {

Please remove the 3/3
add a V2 and a change history