Skip to contentSkip to conversation

staging: wilc1000: Fix lines ending with parentheses

PATCH In review Aditya Shankar 2 participants 2 messages Dec 16, 2017 – Dec 19, 2017 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: wilc1000: Fix lines ending with parentheses

This patch fixes the "Lines should not end with a '('" problem reported by checkpatch

---
 drivers/staging/wilc1000/linux_mon.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/staging/wilc1000/linux_mon.c +6 -6
index 1c740af..a793c42 100644
@@ -84,9 +84,9 @@ void WILC_WFI_monitor_rx(u8 *buff, u32 size)
 		cb_hdr->hdr.it_len =
 			cpu_to_le16(sizeof(struct wilc_wfi_radiotap_cb_hdr));
 
-		cb_hdr->hdr.it_present = cpu_to_le32(
-				(1 << IEEE80211_RADIOTAP_RATE) |
-				(1 << IEEE80211_RADIOTAP_TX_FLAGS));
+		cb_hdr->hdr.it_present =
+			cpu_to_le32((1 << IEEE80211_RADIOTAP_RATE) |
+				    (1 << IEEE80211_RADIOTAP_TX_FLAGS));
 
 		cb_hdr->rate = 5; /* txrate->bitrate / 5; */
 
@@ -216,9 +216,9 @@ static netdev_tx_t WILC_WFI_mon_xmit(struct sk_buff *skb,
 		cb_hdr->hdr.it_len =
 			cpu_to_le16(sizeof(struct wilc_wfi_radiotap_cb_hdr));
 
-		cb_hdr->hdr.it_present = cpu_to_le32(
-				(1 << IEEE80211_RADIOTAP_RATE) |
-				(1 << IEEE80211_RADIOTAP_TX_FLAGS));
+		cb_hdr->hdr.it_present =
+			cpu_to_le32((1 << IEEE80211_RADIOTAP_RATE) |
+				    (1 << IEEE80211_RADIOTAP_TX_FLAGS));
 
 		cb_hdr->rate = 5; /* txrate->bitrate / 5; */
 		cb_hdr->tx_flags = 0x0004;
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 7 lines · Aditya Shankar

This patch fixes the "Lines should not end with a '('" problem reported by checkpatch

---
 drivers/staging/wilc1000/linux_mon.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

This does not apply to my tree, can you redo it against linux-next and resend?

thanks,

greg k-h