diff mbox

staging: wilc1000: Fix lines ending with parentheses

Message ID 1513410919-6628-1-git-send-email-aditya.shankar@microchip.com (mailing list archive)
State Not Applicable
Delegated to: Kalle Valo
Headers show

Commit Message

Aditya.Shankar@microchip.com Dec. 16, 2017, 7:55 a.m. UTC
This patch fixes the "Lines should not end with a '('"
problem reported by checkpatch

Signed-off-by: Aditya Shankar <aditya.shankar@microchip.com>
---
 drivers/staging/wilc1000/linux_mon.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Comments

Greg KH Dec. 19, 2017, 2:23 p.m. UTC | #1
On Sat, Dec 16, 2017 at 01:25:19PM +0530, Aditya Shankar wrote:
> This patch fixes the "Lines should not end with a '('"
> problem reported by checkpatch
> 
> Signed-off-by: Aditya Shankar <aditya.shankar@microchip.com>
> ---
>  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
diff mbox

Patch

diff --git a/drivers/staging/wilc1000/linux_mon.c b/drivers/staging/wilc1000/linux_mon.c
index 1c740af..a793c42 100644
--- a/drivers/staging/wilc1000/linux_mon.c
+++ b/drivers/staging/wilc1000/linux_mon.c
@@ -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;