staging: rtl8192e: spaces preferred around that '<<' (ctx:VxV)
PATCH 3/3 staging: rtl8192e: spaces preferred around that '<<' (ctx:VxV)
This patch fixes 2 checkpatch CHECK issues
Signed-off-by Aruna Hewapathirane <[email protected]>
--- drivers/staging/rtl8192e/rtllib_tx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rtl8192e/rtllib_tx.c +2 -2
@@ -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
Quoted 14 lines · Aruna Hewapathirane
This patch fixes 2 checkpatch CHECK issues
Signed-off-by Aruna Hewapathirane <[email protected]>--- drivers/staging/rtl8192e/rtllib_tx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/staging/rtl8192e/rtllib_tx.c +0
-0@@ -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
-2frag_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