diff mbox

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

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

Commit Message

Teodora Baluta Oct. 21, 2013, 12:40 a.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>
---
 drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Comments

Josh Triplett Oct. 21, 2013, 7:07 p.m. UTC | #1
On Mon, Oct 21, 2013 at 03:40:58AM +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>
> ---
>  drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c |    6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
> index 367eb9b..b144913 100644
> --- a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
> +++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
> @@ -489,7 +489,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);

You should indent continuation lines with a tab, not with spaces.

>  
>  			/*
> @@ -510,7 +511,8 @@ 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);

Likewise.

- Josh Triplett
diff mbox

Patch

diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
index 367eb9b..b144913 100644
--- a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
+++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
@@ -489,7 +489,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);
 
 			/*
@@ -510,7 +511,8 @@  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);
 			}