diff mbox

[OPW,kernel,v2,10/13] staging: rtl8187se: fix lines over 80 characters

Message ID 1382398644-511-11-git-send-email-teobaluta@gmail.com
State New, archived
Headers show

Commit Message

Teodora Baluta Oct. 21, 2013, 11:37 p.m. UTC
This patch fixes lines that are well over 80 characters long and
silences the checkpatch warning.

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>

---
Changes since v1:
- continuation lines indented with a tab, not spaces
---
 drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Comments

Josh Triplett Oct. 21, 2013, 11:51 p.m. UTC | #1
On Tue, Oct 22, 2013 at 02:37:21AM +0300, Teodora Baluta wrote:
> This patch fixes lines that are well over 80 characters long and
> silences the checkpatch warning.
> 
> Signed-off-by: Teodora Baluta <teobaluta@gmail.com>

Reviewed-by: Josh Triplett <josh@joshtriplett.org>

> ---
> Changes since v1:
> - continuation lines indented with a tab, not spaces
> ---
>  drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c |    9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
> index 372e227..afb0957 100644
> --- a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
> +++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
> @@ -490,7 +490,8 @@ int ieee80211_rtl_xmit(struct sk_buff *skb,
>  			if (encrypt)
>  				skb_reserve(skb_frag, crypt->ops->extra_prefix_len);
>  
> -			frag_hdr = (struct ieee80211_hdr_3addrqos *)skb_put(skb_frag, hdr_len);
> +			frag_hdr = (struct ieee80211_hdr_3addrqos *)skb_put(
> +				skb_frag, hdr_len);
>  			memcpy(frag_hdr, &header, hdr_len);
>  
>  			/*
> @@ -511,9 +512,11 @@ int ieee80211_rtl_xmit(struct sk_buff *skb,
>  				 * add 1 only indicate to corresponding seq
>  				 * number control 2006/7/12
>  				 */
> -				frag_hdr->seq_ctl = cpu_to_le16(ieee->seq_ctrl[UP2AC(skb->priority)+1]<<4 | i);
> +				frag_hdr->seq_ctl = cpu_to_le16(
> +					ieee->seq_ctrl[UP2AC(skb->priority)+1]<<4 | i);
>  			} else {
> -				frag_hdr->seq_ctl = cpu_to_le16(ieee->seq_ctrl[0]<<4 | i);
> +				frag_hdr->seq_ctl = cpu_to_le16(
> +					ieee->seq_ctrl[0]<<4 | i);
>  			}
>  
>  			/* Put a SNAP header on the first fragment */
> -- 
> 1.7.10.4
> 
> -- 
> You received this message because you are subscribed to the Google Groups "opw-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to opw-kernel+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
diff mbox

Patch

diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
index 372e227..afb0957 100644
--- a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
+++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
@@ -490,7 +490,8 @@  int ieee80211_rtl_xmit(struct sk_buff *skb,
 			if (encrypt)
 				skb_reserve(skb_frag, crypt->ops->extra_prefix_len);
 
-			frag_hdr = (struct ieee80211_hdr_3addrqos *)skb_put(skb_frag, hdr_len);
+			frag_hdr = (struct ieee80211_hdr_3addrqos *)skb_put(
+				skb_frag, hdr_len);
 			memcpy(frag_hdr, &header, hdr_len);
 
 			/*
@@ -511,9 +512,11 @@  int ieee80211_rtl_xmit(struct sk_buff *skb,
 				 * add 1 only indicate to corresponding seq
 				 * number control 2006/7/12
 				 */
-				frag_hdr->seq_ctl = cpu_to_le16(ieee->seq_ctrl[UP2AC(skb->priority)+1]<<4 | i);
+				frag_hdr->seq_ctl = cpu_to_le16(
+					ieee->seq_ctrl[UP2AC(skb->priority)+1]<<4 | i);
 			} else {
-				frag_hdr->seq_ctl = cpu_to_le16(ieee->seq_ctrl[0]<<4 | i);
+				frag_hdr->seq_ctl = cpu_to_le16(
+					ieee->seq_ctrl[0]<<4 | i);
 			}
 
 			/* Put a SNAP header on the first fragment */