staging: wilc1000: Fix lines ending with parentheses
PATCH 1/1 staging: wilc1000: Fix lines ending with parentheses
This patch fixes the "Lines should not end with a '('" problem reported by checkpatch
Signed-off-by Aditya Shankar <[email protected]>
--- drivers/staging/wilc1000/linux_mon.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/staging/wilc1000/linux_mon.c +6 -6
@@ -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
Greg KH
maintainerQuoted 7 lines · Aditya Shankar
This patch fixes the "Lines should not end with a '('" problem reported by checkpatch
Signed-off-by Aditya Shankar <[email protected]>--- 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