From: Larry Finger <Larry.Finger@lwfinger.net>
To: Swee Hua Law <sweehua81@gmail.com>,
Jes.Sorensen@redhat.com, gregkh@linuxfoundation.org
Cc: aybuke.147@gmail.com, linux-wireless@vger.kernel.org,
devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Add space after ,
Date: Sun, 9 Aug 2015 11:21:39 -0500 [thread overview]
Message-ID: <55C77E13.8060300@lwfinger.net> (raw)
In-Reply-To: <1439136530-4415-1-git-send-email-sweehua81@gmail.com>
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
prev parent reply other threads:[~2015-08-09 16:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-09 16:08 Swee Hua Law
2015-08-09 16:21 ` Larry Finger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55C77E13.8060300@lwfinger.net \
--to=larry.finger@lwfinger.net \
--cc=Jes.Sorensen@redhat.com \
--cc=aybuke.147@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=sweehua81@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®