* [PATCH] Add space after ,
@ 2015-08-09 16:08 Swee Hua Law
2015-08-09 16:21 ` Larry Finger
0 siblings, 1 reply; 2+ messages in thread
From: Swee Hua Law @ 2015-08-09 16:08 UTC (permalink / raw)
To: Larry.Finger, Jes.Sorensen, gregkh
Cc: aybuke.147, sweehua81, linux-wireless, devel, linux-kernel
add space after , to fix coding style issue
Signed-off-by: Swee Hua Law <sweehua81@gmail.com>
---
drivers/staging/rtl8723au/core/rtw_sreset.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_sreset.c b/drivers/staging/rtl8723au/core/rtw_sreset.c
index 29a29d9..48b7723 100644
--- a/drivers/staging/rtl8723au/core/rtw_sreset.c
+++ b/drivers/staging/rtl8723au/core/rtw_sreset.c
@@ -71,7 +71,7 @@ static void sreset_restore_security_station(struct rtw_adapter *padapter)
/* pairwise key */
rtw_setstakey_cmd23a(padapter, (unsigned char *)psta, true);
/* group key */
- rtw_set_key23a(padapter,&padapter->securitypriv, padapter->securitypriv.dot118021XGrpKeyid, 0);
+ rtw_set_key23a(padapter, &padapter->securitypriv, padapter->securitypriv.dot118021XGrpKeyid, 0);
}
}
}
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Add space after ,
2015-08-09 16:08 [PATCH] Add space after , Swee Hua Law
@ 2015-08-09 16:21 ` Larry Finger
0 siblings, 0 replies; 2+ messages in thread
From: Larry Finger @ 2015-08-09 16:21 UTC (permalink / raw)
To: Swee Hua Law, Jes.Sorensen, gregkh
Cc: aybuke.147, linux-wireless, devel, linux-kernel
On 08/09/2015 11:08 AM, Swee Hua Law wrote:
> add space after , to fix coding style issue
>
> Signed-off-by: Swee Hua Law <sweehua81@gmail.com>
> ---
> drivers/staging/rtl8723au/core/rtw_sreset.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/rtl8723au/core/rtw_sreset.c b/drivers/staging/rtl8723au/core/rtw_sreset.c
> index 29a29d9..48b7723 100644
> --- a/drivers/staging/rtl8723au/core/rtw_sreset.c
> +++ b/drivers/staging/rtl8723au/core/rtw_sreset.c
> @@ -71,7 +71,7 @@ static void sreset_restore_security_station(struct rtw_adapter *padapter)
> /* pairwise key */
> rtw_setstakey_cmd23a(padapter, (unsigned char *)psta, true);
> /* group key */
> - rtw_set_key23a(padapter,&padapter->securitypriv, padapter->securitypriv.dot118021XGrpKeyid, 0);
> + rtw_set_key23a(padapter, &padapter->securitypriv, padapter->securitypriv.dot118021XGrpKeyid, 0);
> }
> }
> }
>
There are at least three problems with this patch. The first is that your
subject is really awful. You need to say that you are fixing a checkpatch
warning, and then say exactly what is happening. The second probalm also
concerns the subject, which needs to specify what component is being changed.
For drivers in staging, the usual way to do this is to start the subject line
with "staging: rtl8723au: ...". The third problem is that you should fix *ALL*
the problems with a given line whenever you touch it. That line is clearly over
the 80-character limit.
NACK
Larry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-09 16:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-09 16:08 [PATCH] Add space after , Swee Hua Law
2015-08-09 16:21 ` Larry Finger
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).