From: Andi Shyti <andi.shyti@linux.intel.com>
To: Gilbert Adikankwu <gilbertadikankwu@gmail.com>
Cc: gregkh@linuxfoundation.org, outreachy@lists.linux.dev,
linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] staging: rtl8192u: Align descendant arguments
Date: Sun, 15 Oct 2023 10:39:06 +0200 [thread overview]
Message-ID: <ZSulKrvrrLyfnzND@ashyti-mobl2.lan> (raw)
In-Reply-To: <ZSuhYpyYfZz5EhDB@gilbert-PC>
Hi Gilbert,
On Sun, Oct 15, 2023 at 09:22:58AM +0100, Gilbert Adikankwu wrote:
> Adhere to Linux kernel coding style.
>
> "...A very commonly used style is to align descendants to a function
> open parenthesis" - (Excerpted from Linux kernel coding style (#2))
>
> Reported by checkpatch:
>
> CHECK: Alignment should match open parenthesis
>
> Signed-off-by: Gilbert Adikankwu <gilbertadikankwu@gmail.com>
I don't like this commit message. Although it's correctly
written, I think it can be improved in order to be more
immediately understandable.
Write what you did in imperative form:
"Adhere to Linux kernel coding style" doesn't mean much, you can
write
Align descendant argument to the open parenthesis as per the
"Linux kernel coding style" in
Documentation/process/coding-style.rst.
Yuo tell immediately what you did and where to find the
reference. Citing the document in the commit log, in this case,
looks to me like an unnecessary information.
Copy pasting the output of the error is a very good practice and
you can write it as:
Mute the following checkpatch error:
CHECK: Alignment should match open parenthesis
> ---
> v2: In the first patch I changed my commit title in the
> email and sent it before amending it in my git tree which then changed
> its SHA ID. I felt it might cause an issue so that is why I did a v2
> of the patch.
It's not an issue, you can do that.
But I'm going to give you another piece of advice that I already
gave in this list. Do not send patches between versions too fast.
Reviewers need some time to review... wait some time before
sending the v2, so that the v1 gets enough visibility. Sometimes
reviewers correct each other, but they need time to read the
e-mails.
This way you would also avoid unnecessary noise.
Andi
next prev parent reply other threads:[~2023-10-15 8:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-15 8:22 [PATCH v2] staging: rtl8192u: Align descendant arguments Gilbert Adikankwu
2023-10-15 8:39 ` Andi Shyti [this message]
2023-10-15 15:38 ` Julia Lawall
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=ZSulKrvrrLyfnzND@ashyti-mobl2.lan \
--to=andi.shyti@linux.intel.com \
--cc=gilbertadikankwu@gmail.com \
--cc=gregkh@linuxfoundation.org \
--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