From: "Fabio M. De Francesco" <fmdefrancesco@gmail.com>
To: Tommaso Merciai <tomm.merciai@gmail.com>
Cc: tomm.merciai@gmail.com,
"Forest Bond" <forest@alittletooquiet.net>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Yujia Qiao" <rapiz@foxmail.com>,
"Lucas Henneman" <lucas.henneman@linaro.org>,
"Madhumitha Prabakaran" <madhumithabiw@gmail.com>,
"Marcos Antonio de Jesus Filho" <mdejesusfilho@gmail.com>,
"Aldas Taraškevičius" <aldas60@gmail.com>,
"Gustavo A. R. Silva" <gustavoars@kernel.org>,
"Deepak R Varma" <mh12gx2825@gmail.com>,
linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 1/3] staging: vt6655: replace camel case b_short_slot_time instead of bShortSlotTime.
Date: Sat, 25 Sep 2021 11:13:17 +0200 [thread overview]
Message-ID: <2635701.kFDcI0R34J@localhost.localdomain> (raw)
In-Reply-To: <20210925074531.10446-2-tomm.merciai@gmail.com>
On Saturday, September 25, 2021 9:45:22 AM CEST Tommaso Merciai wrote:
> Signed-off-by: Tommaso Merciai <tomm.merciai@gmail.com>
> ---
> Changes since v2:
> - Add changelog.
>
> Changes since v1:
> - Make the commit message more clearer.
> ---
> drivers/staging/vt6655/baseband.c | 4 ++--
> drivers/staging/vt6655/card.c | 2 +-
> drivers/staging/vt6655/device.h | 2 +-
> drivers/staging/vt6655/device_main.c | 4 ++--
> 4 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/staging/vt6655/baseband.c b/drivers/staging/vt6655/
baseband.c
> index f73f3fad3e05..170c4056946f 100644
> --- a/drivers/staging/vt6655/baseband.c
> +++ b/drivers/staging/vt6655/baseband.c
> @@ -2200,7 +2200,7 @@ bb_set_short_slot_time(struct vnt_private *priv)
>
> bb_read_embedded(priv, 0x0A, &by_bb_rx_conf); /* CR10 */
Well, it's pretty clear that you didn't read the document whose link you've
been provided by Gustavo A.R. Silva and Greg Kroah-Hartman. Furthermore you
also ignored Gustavo's suggestions about how a patch should be made. :(
If you had read that document you should have noticed that your patches
doesn't comply with the Linux kernel development rules.
In section "Revising your patches/Versioning one patch revision" there's a
sample patch ("fix the number of endpoint parameter"). If you look at that
patch you see what your patches are missing.
Patches have at least three logical entities, but in your case they must be
four because you are sending new versions of the initial one.
1) A "Subject". Along with information about the version and the position in
a series, you must always write the subsystem prefix and the driver name.
The text in the "Subject" should summarize with _few_ _words_ the "Commit
message" or "Changelog". Few words means that you don't need "replace camel
case b_short_slot_time instead of bShortSlotTime." because it is too long.
No full stop at the end of the line.
Just something like "Fix camelcase in bShortSlotTime" is enough (you may also
add "[] variable", if you want to.
2) A "Commit message" (or "Changelog"). You must explain "what" you did and
"why". You didn't provide it and Greg Kroah-Hartman complained.
He won't ever accept patches without it. If you had read "Start creating your
first patch / Git post-commit hooks", you would have known of the "post-
commit" hook and so, you had not submitted patches without messages because
that hook would have warned you.
3) A "Versions list" (or a "List of changes between versions"). Where in the
list of 3/3 you recorded that you changed "port_off_set" to "post_offset"?
4) A "diff" of the changes that shows the changes you have made, one line a a
time. This is the only part that is not up to you because Git adds it
automatically.
Again, please read the documentation.
Thanks,
Fabio
next prev parent reply other threads:[~2021-09-25 9:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-25 7:45 [PATCH v3 0/3] staging: vt6655: replace camel case variables Tommaso Merciai
2021-09-25 7:45 ` [PATCH v3 1/3] staging: vt6655: replace camel case b_short_slot_time instead of bShortSlotTime Tommaso Merciai
2021-09-25 8:00 ` Greg Kroah-Hartman
2021-09-25 8:41 ` Tommaso Merciai
2021-09-25 8:47 ` Greg Kroah-Hartman
2021-09-25 9:04 ` Tommaso Merciai
2021-09-25 8:32 ` Joe Perches
2021-09-25 9:13 ` Fabio M. De Francesco [this message]
2021-09-25 7:45 ` [PATCH v3 2/3] staging: vt6655: replace camel case ld_bm_threshold instead of ldBmThreshold Tommaso Merciai
2021-09-25 7:45 ` [PATCH v3 3/3] staging: vt6655: replace camel case port_offset instead of PortOffset Tommaso Merciai
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=2635701.kFDcI0R34J@localhost.localdomain \
--to=fmdefrancesco@gmail.com \
--cc=aldas60@gmail.com \
--cc=forest@alittletooquiet.net \
--cc=gregkh@linuxfoundation.org \
--cc=gustavoars@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=lucas.henneman@linaro.org \
--cc=madhumithabiw@gmail.com \
--cc=mdejesusfilho@gmail.com \
--cc=mh12gx2825@gmail.com \
--cc=rapiz@foxmail.com \
--cc=tomm.merciai@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