From: Dan Carpenter <error27@gmail.com>
To: Archana <craechal@gmail.com>
Cc: drv@mailo.com, linux-staging@lists.linux.dev, gregkh@linuxfoundation.org
Subject: Re: [PATCH 2/2] staging: wlan-ng: remove else statement
Date: Sat, 11 Mar 2023 07:34:25 +0300 [thread overview]
Message-ID: <a4096cdc-97d1-4265-8ce4-b8021ecf5933@kili.mountain> (raw)
In-Reply-To: <20230310205917.2161-2-craechal@gmail.com>
On Fri, Mar 10, 2023 at 08:59:17PM +0000, Archana wrote:
> else block is not needed if j is set to -1
> before if block
>
> Signed-off-by: Archana <craechal@gmail.com>
> ---
Is Archana your full legal name that you would write on a legal document?
I feel like the patch is nice and I like that it's based on reading the
code instead of checkpatch. The commit message isn't great. Here is my
suggestion on that:
Subject: [PATCH 2/2] staging: wlan-ng: small clean up in plugimage()
It's cleaner to set "j = -1;" before the if block and remove the else
statement.
The main differences are:
1: It says that the motivation for the patch is a clean up.
2: Capital letter at the start of the sentence.
3: Period at the end.
I try not to be too picky about commit messages but the issue with your
legal name is important so you were going to have to resend anyway.
Also everyone can use capital letters and periods even if English is not
their first language. We could figure out the motivation for the patch
easily enough but we like to be extra strict with new people so they
develop good habbits.
regards,
dan carpenter
next prev parent reply other threads:[~2023-03-11 4:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-10 20:59 [PATCH 1/2] staging: wlan-ng: remove unnecessary kfree statements Archana
2023-03-10 20:59 ` [PATCH 2/2] staging: wlan-ng: remove else statement Archana
2023-03-11 4:34 ` Dan Carpenter [this message]
2023-03-11 4:58 ` Dan Carpenter
2023-03-11 7:39 ` Greg KH
2023-03-11 12:12 ` [PATCH v2 1/2] staging: wlan-ng: small cleanup in writeimage() Archana
2023-03-11 12:12 ` [PATCH v2 2/2] staging: wlan-ng: small cleanup in plugimage() Archana
2023-03-11 12:37 ` [PATCH v2 1/2] staging: wlan-ng: small cleanup in writeimage() Dan Carpenter
2023-03-11 12:45 ` [PATCH 2/2] staging: wlan-ng: remove else statement Archana
2023-03-11 7:40 ` [PATCH 1/2] staging: wlan-ng: remove unnecessary kfree statements Greg KH
2023-03-16 11:19 ` Archana
2023-03-16 11:27 ` Archana
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=a4096cdc-97d1-4265-8ce4-b8021ecf5933@kili.mountain \
--to=error27@gmail.com \
--cc=craechal@gmail.com \
--cc=drv@mailo.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-staging@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