diff mbox

[OPW,kernel,4/4] staging: rtl8187se: checkpatch cleanups

Message ID 1382206188-12297-5-git-send-email-teobaluta@gmail.com
State New, archived
Headers show

Commit Message

Teodora Baluta Oct. 19, 2013, 6:09 p.m. UTC
Fix the following checkpatch.pl errors:

drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c:890: "foo* bar" should be "foo *bar"
drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c:944: "foo* bar" should be "foo *bar"

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
---
 drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Waskiewicz Jr, Peter P Oct. 20, 2013, 12:34 a.m. UTC | #1
On Sat, 2013-10-19 at 21:09 +0300, Teodora Baluta wrote:
> Fix the following checkpatch.pl errors:
> 
> drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c:890: "foo* bar" should be "foo *bar"
> drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c:944: "foo* bar" should be "foo *bar"

Check the line lengths on this too.

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

Reviewed-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>

> ---
>  drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c
> index c0e4765..0405826 100644
> --- a/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c
> +++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c
> @@ -887,7 +887,7 @@ static struct sk_buff* ieee80211_probe_resp(struct ieee80211_device *ieee, u8 *d
>  	return skb;
>  }
>  
> -static struct sk_buff* ieee80211_assoc_resp(struct ieee80211_device *ieee,
> +static struct sk_buff *ieee80211_assoc_resp(struct ieee80211_device *ieee,
>  					    u8 *dest)
>  {
>  	struct sk_buff *skb;
> @@ -941,7 +941,7 @@ static struct sk_buff* ieee80211_assoc_resp(struct ieee80211_device *ieee,
>  	return skb;
>  }
>  
> -static struct sk_buff* ieee80211_auth_resp(struct ieee80211_device *ieee,
> +static struct sk_buff *ieee80211_auth_resp(struct ieee80211_device *ieee,
>  					   int status, u8 *dest)
>  {
>  	struct sk_buff *skb;
> -- 
> 1.7.10.4
>
diff mbox

Patch

diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c
index c0e4765..0405826 100644
--- a/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c
+++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c
@@ -887,7 +887,7 @@  static struct sk_buff* ieee80211_probe_resp(struct ieee80211_device *ieee, u8 *d
 	return skb;
 }
 
-static struct sk_buff* ieee80211_assoc_resp(struct ieee80211_device *ieee,
+static struct sk_buff *ieee80211_assoc_resp(struct ieee80211_device *ieee,
 					    u8 *dest)
 {
 	struct sk_buff *skb;
@@ -941,7 +941,7 @@  static struct sk_buff* ieee80211_assoc_resp(struct ieee80211_device *ieee,
 	return skb;
 }
 
-static struct sk_buff* ieee80211_auth_resp(struct ieee80211_device *ieee,
+static struct sk_buff *ieee80211_auth_resp(struct ieee80211_device *ieee,
 					   int status, u8 *dest)
 {
 	struct sk_buff *skb;