From: Joe Perches <joe@perches.com>
To: Julia Lawall <julia.lawall@inria.fr>,
Alaa Mohamed <eng.alaamohamedsoliman.am@gmail.com>
Cc: outreachy@lists.linux.dev, Larry.Finger@lwfinger.net,
florian.c.schilhabel@googlemail.com, gregkh@linuxfoundation.org,
linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: rtl8712: remove Unnecessary parentheses
Date: Wed, 06 Apr 2022 11:08:54 -0700 [thread overview]
Message-ID: <963000ce7e7c8f94697be460441747f25f9247cb.camel@perches.com> (raw)
In-Reply-To: <alpine.DEB.2.22.394.2204061735340.2349@hadrien>
On Wed, 2022-04-06 at 17:37 +0200, Julia Lawall wrote:
> If you want to capitalize something in the subject, it could be the first
> word. Capitalizing the second word is a bit strange.
>
> On Wed, 6 Apr 2022, Alaa Mohamed wrote:
>
> > Reported by checkpatch:
> >
> > CHECK: Unnecessary parentheses
>
> Indicating that the problem was detected by checkpatch is good. But
> actually, the parentheses all have the same property. So you could use
> the log message to describe what kind of unnecessary parentheses were
> removed. That would help the maintainer know what to look for.
[]
> > diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c
[]
> > @@ -82,9 +82,9 @@ static inline void handle_pairwise_key(struct sta_info *psta,
> > (param->u.crypt. key_len > 16 ? 16 : param->u.crypt.key_len));
> > if (strcmp(param->u.crypt.alg, "TKIP") == 0) { /* set mic key */
> > memcpy(psta->tkiptxmickey. skey,
Also, the space after the periods here are not great either.
memcpy(psta->tkiptxmickey. skey,
vs
memcpy(psta->tkiptxmickey.skey,
next prev parent reply other threads:[~2022-04-06 18:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-06 15:28 [PATCH] staging: rtl8712: remove Unnecessary parentheses Alaa Mohamed
2022-04-06 15:37 ` Julia Lawall
2022-04-06 18:08 ` Joe Perches [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-12-13 18:59 [PATCH] staging: rtl8712: remove unnecessary parentheses Ryan England
2023-12-14 12:21 ` Bagas Sanjaya
2023-12-15 12:32 ` Greg KH
2022-04-13 18:23 [PATCH] staging: rtl8712: Remove " Aliya Rahmani
2022-04-04 21:19 [PATCH] staging: rtl8712: remove Unnecessary parentheses Alaa Mohamed
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=963000ce7e7c8f94697be460441747f25f9247cb.camel@perches.com \
--to=joe@perches.com \
--cc=Larry.Finger@lwfinger.net \
--cc=eng.alaamohamedsoliman.am@gmail.com \
--cc=florian.c.schilhabel@googlemail.com \
--cc=gregkh@linuxfoundation.org \
--cc=julia.lawall@inria.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=outreachy@lists.linux.dev \
/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