All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilbert Adikankwu <gilbertadikankwu@gmail.com>
To: Andi Shyti <andi.shyti@linux.intel.com>
Cc: outreachy@lists.linux.dev
Subject: Re: [PATCH v2] staging: rtl8192u: Align descendant arguments
Date: Sun, 15 Oct 2023 09:56:40 +0100	[thread overview]
Message-ID: <ZSupSOhRK8Barcwh@gilbert-PC> (raw)
In-Reply-To: <ZSulKrvrrLyfnzND@ashyti-mobl2.lan>

Hi Andi,

On Sun, Oct 15, 2023 at 10:39:06AM +0200, Andi Shyti wrote:
> 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
>

Thank you for the review. I will adopt the corrections and try to be
more concise in the commit message for my future patches.

> > ---
> > 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

Okay, thank you for the advice.

Gilbert

  reply	other threads:[~2023-10-15  8:56 UTC|newest]

Thread overview: 4+ 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
2023-10-15  8:56   ` Gilbert Adikankwu [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=ZSupSOhRK8Barcwh@gilbert-PC \
    --to=gilbertadikankwu@gmail.com \
    --cc=andi.shyti@linux.intel.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.