* [PATCH] staging: wilc1000: Fix lines ending with parentheses
@ 2017-12-16 7:55 Aditya Shankar
2017-12-19 14:23 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Aditya Shankar @ 2017-12-16 7:55 UTC (permalink / raw)
To: linux-wireless; +Cc: ganesh.krishna, gregkh, devel, Aditya Shankar
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(-)
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;
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] staging: wilc1000: Fix lines ending with parentheses
2017-12-16 7:55 [PATCH] staging: wilc1000: Fix lines ending with parentheses Aditya Shankar
@ 2017-12-19 14:23 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2017-12-19 14:23 UTC (permalink / raw)
To: Aditya Shankar; +Cc: linux-wireless, devel, ganesh.krishna
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-19 14:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-16 7:55 [PATCH] staging: wilc1000: Fix lines ending with parentheses Aditya Shankar
2017-12-19 14:23 ` Greg KH
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).