linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: rtl8188eu: fix unnecessary parentheses, multiple blank lines, spaces around '&' reported by checkpatch.pl
@ 2017-03-12 16:52 Andrii
  2017-03-12 17:14 ` Greg KH
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Andrii @ 2017-03-12 16:52 UTC (permalink / raw)
  To: gregkh; +Cc: insafonov, anchalj109, scott, kyle.kuffermann, devel, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 45 bytes --]

Signed-off-by: Andrii Vladyka <tulup@mail.ru>

[-- Attachment #2: rtw_ap.c.patch --]
[-- Type: text/x-patch, Size: 1938 bytes --]

diff --git a/drivers/staging/rtl8188eu/core/rtw_ap.c b/drivers/staging/rtl8188eu/core/rtw_ap.c
index 255c30e..b324429 100644
--- a/drivers/staging/rtl8188eu/core/rtw_ap.c
+++ b/drivers/staging/rtl8188eu/core/rtw_ap.c
@@ -30,7 +30,6 @@ void init_mlme_ap_info(struct adapter *padapter)
 	struct sta_priv *pstapriv = &padapter->stapriv;
 	struct wlan_acl_pool *pacl_list = &pstapriv->acl_list;
 
-
 	spin_lock_init(&pmlmepriv->bcn_update_lock);
 
 	/* for ACL */
@@ -45,7 +44,7 @@ void free_mlme_ap_info(struct adapter *padapter)
 	struct sta_priv *pstapriv = &padapter->stapriv;
 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
 	struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv;
-	struct mlme_ext_info	*pmlmeinfo = &(pmlmeext->mlmext_info);
+	struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info;
 
 	pmlmepriv->update_bcn = false;
 	pmlmeext->bstart_bss = false;
@@ -98,7 +97,7 @@ static void update_BCNTIM(struct adapter *padapter)
 			       &tmp_len, (pnetwork_mlmeext->IELength -
 					  _BEACON_IE_OFFSET_));
 		if (p)
-			offset += tmp_len+2;
+			offset += tmp_len + 2;
 
 		/* DS Parameter Set IE, len = 3 */
 		offset += 3;
@@ -120,7 +119,7 @@ static void update_BCNTIM(struct adapter *padapter)
 	}
 	*dst_ie++ = _TIM_IE_;
 
-	if ((pstapriv->tim_bitmap&0xff00) && (pstapriv->tim_bitmap&0x00fc))
+	if ((pstapriv->tim_bitmap & 0xff00) && (pstapriv->tim_bitmap & 0x00fc))
 		tim_ielen = 5;
 	else
 		tim_ielen = 4;
@@ -130,7 +129,7 @@ static void update_BCNTIM(struct adapter *padapter)
 	*dst_ie++ = 0;/* DTIM count */
 	*dst_ie++ = 1;/* DTIM period */
 
-	if (pstapriv->tim_bitmap&BIT(0))/* for bc/mc frames */
+	if (pstapriv->tim_bitmap & BIT(0))/* for bc/mc frames */
 		*dst_ie++ = BIT(0);/* bitmap ctrl */
 	else
 		*dst_ie++ = 0;
@@ -315,7 +314,6 @@ void	expire_timeout_chk(struct adapter *padapter)
 				spin_lock_bh(&pstapriv->auth_list_lock);
 			}
 		}
-
 	}
 	spin_unlock_bh(&pstapriv->auth_list_lock);
 

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] staging: rtl8188eu: fix unnecessary parentheses, multiple blank lines, spaces around '&' reported by checkpatch.pl
  2017-03-12 16:52 [PATCH] staging: rtl8188eu: fix unnecessary parentheses, multiple blank lines, spaces around '&' reported by checkpatch.pl Andrii
@ 2017-03-12 17:14 ` Greg KH
  2017-03-12 17:56 ` [PATCH] staging: rtl8188eu: fix multiple blank lines coding style problem Andrii
  2017-03-29  7:31 ` [PATCH] staging: rtl8188eu: fix unnecessary parentheses, multiple blank lines, spaces around '&' reported by checkpatch.pl Greg KH
  2 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2017-03-12 17:14 UTC (permalink / raw)
  To: Andrii; +Cc: devel, insafonov, anchalj109, scott, kyle.kuffermann, linux-kernel

On Sun, Mar 12, 2017 at 06:52:26PM +0200, Andrii wrote:
> Signed-off-by: Andrii Vladyka <tulup@mail.ru>

Hi,

This is the friendly patch-bot of Greg Kroah-Hartman.  You have sent him
a patch that has triggered this response.  He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created.  Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.

You are receiving this message because of the following common error(s)
as indicated below:

- Your patch did many different things all at once, making it difficult
  to review.  All Linux kernel patches need to only do one thing at a
  time.  If you need to do multiple things (such as clean up all coding
  style issues in a file/driver), do it in a sequence of patches, each
  one doing only one thing.  This will make it easier to review the
  patches to ensure that they are correct, and to help alleviate any
  merge issues that larger patches can cause.

- You did not specify a description of why the patch is needed, or
  possibly, any description at all, in the email body.  Please read the
  section entitled "The canonical patch format" in the kernel file,
  Documentation/SubmittingPatches for what is needed in order to
  properly describe the change.

- You did not write a descriptive Subject: for the patch, allowing Greg,
  and everyone else, to know what this patch is all about.  Please read
  the section entitled "The canonical patch format" in the kernel file,
  Documentation/SubmittingPatches for what a proper Subject: line should
  look like.

If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.

thanks,

greg k-h's patch email bot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] staging: rtl8188eu: fix multiple blank lines coding style problem
  2017-03-12 16:52 [PATCH] staging: rtl8188eu: fix unnecessary parentheses, multiple blank lines, spaces around '&' reported by checkpatch.pl Andrii
  2017-03-12 17:14 ` Greg KH
@ 2017-03-12 17:56 ` Andrii
  2017-03-12 18:12   ` Greg KH
  2017-03-29  7:31 ` [PATCH] staging: rtl8188eu: fix unnecessary parentheses, multiple blank lines, spaces around '&' reported by checkpatch.pl Greg KH
  2 siblings, 1 reply; 5+ messages in thread
From: Andrii @ 2017-03-12 17:56 UTC (permalink / raw)
  To: gregkh; +Cc: insafonov, anchalj109, scott, kyle.kuffermann, devel, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 45 bytes --]

Signed-off-by: Andrii Vladyka <tulup@mail.ru>

[-- Attachment #2: rtw_ap.c.patch --]
[-- Type: text/x-patch, Size: 460 bytes --]

diff --git a/drivers/staging/rtl8188eu/core/rtw_ap.c b/drivers/staging/rtl8188eu/core/rtw_ap.c
index 255c30e..3fa6af2 100644
--- a/drivers/staging/rtl8188eu/core/rtw_ap.c
+++ b/drivers/staging/rtl8188eu/core/rtw_ap.c
@@ -30,7 +30,6 @@ void init_mlme_ap_info(struct adapter *padapter)
 	struct sta_priv *pstapriv = &padapter->stapriv;
 	struct wlan_acl_pool *pacl_list = &pstapriv->acl_list;
 
-
 	spin_lock_init(&pmlmepriv->bcn_update_lock);
 
 	/* for ACL */

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] staging: rtl8188eu: fix multiple blank lines coding style problem
  2017-03-12 17:56 ` [PATCH] staging: rtl8188eu: fix multiple blank lines coding style problem Andrii
@ 2017-03-12 18:12   ` Greg KH
  0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2017-03-12 18:12 UTC (permalink / raw)
  To: Andrii; +Cc: insafonov, anchalj109, scott, kyle.kuffermann, devel, linux-kernel

On Sun, Mar 12, 2017 at 07:56:56PM +0200, Andrii wrote:
> Signed-off-by: Andrii Vladyka <tulup@mail.ru>

{sigh}

Please go read the patch-bot items, you did not fix all of the issues it
raised.

Take some time, fix them up, and wait a day or so before resending.
There is no rush.

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] staging: rtl8188eu: fix unnecessary parentheses, multiple blank lines, spaces around '&' reported by checkpatch.pl
  2017-03-12 16:52 [PATCH] staging: rtl8188eu: fix unnecessary parentheses, multiple blank lines, spaces around '&' reported by checkpatch.pl Andrii
  2017-03-12 17:14 ` Greg KH
  2017-03-12 17:56 ` [PATCH] staging: rtl8188eu: fix multiple blank lines coding style problem Andrii
@ 2017-03-29  7:31 ` Greg KH
  2 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2017-03-29  7:31 UTC (permalink / raw)
  To: Andrii; +Cc: insafonov, anchalj109, scott, kyle.kuffermann, devel, linux-kernel

On Sun, Mar 12, 2017 at 06:52:26PM +0200, Andrii wrote:
> Signed-off-by: Andrii Vladyka <tulup@mail.ru>

I can't take a patch without any changelog text :(

Also, your From: line does not match your signed-off-by line :(

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-03-29  7:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-12 16:52 [PATCH] staging: rtl8188eu: fix unnecessary parentheses, multiple blank lines, spaces around '&' reported by checkpatch.pl Andrii
2017-03-12 17:14 ` Greg KH
2017-03-12 17:56 ` [PATCH] staging: rtl8188eu: fix multiple blank lines coding style problem Andrii
2017-03-12 18:12   ` Greg KH
2017-03-29  7:31 ` [PATCH] staging: rtl8188eu: fix unnecessary parentheses, multiple blank lines, spaces around '&' reported by checkpatch.pl 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).