From: Philipp Hortmann <philipp.g.hortmann@gmail.com>
To: "Dominik Karol Piątkowski"
<dominik.karol.piatkowski@protonmail.com>,
gregkh@linuxfoundation.org
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: vt6655: Fix block comment alignment
Date: Wed, 28 Aug 2024 20:42:16 +0200 [thread overview]
Message-ID: <7a042b36-4e1d-45bf-a9b6-e4e248ade30c@gmail.com> (raw)
In-Reply-To: <20240828145923.78004-1-dominik.karol.piatkowski@protonmail.com>
On 8/28/24 17:00, Dominik Karol Piątkowski wrote:
> This patch fixes the "Block comments should align the * on each line"
> warning detected by checkpatch.pl.
>
> Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com>
> ---
> drivers/staging/vt6655/device.h | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h
> index 0212240ba23f..32d9cbd55222 100644
> --- a/drivers/staging/vt6655/device.h
> +++ b/drivers/staging/vt6655/device.h
> @@ -189,10 +189,10 @@ struct vnt_private {
>
> u8 byBBType; /* 0:11A, 1:11B, 2:11G */
> u8 packet_type; /*
> - * 0:11a,1:11b,2:11gb (only CCK
> - * in BasicRate), 3:11ga (OFDM in
> - * Basic Rate)
> - */
> + * 0:11a,1:11b,2:11gb (only CCK
> + * in BasicRate), 3:11ga (OFDM in
> + * Basic Rate)
> + */
> unsigned short wBasicRate;
> unsigned char byACKRate;
> unsigned char byTopOFDMBasicRate;
Hi Dominik,
please make your "Subject" line more unique. Consider that we may end up
with having dozen of commits like yours, all of them referring to
different removals and all without the necessary information to tell
what they differ in (except the driver/subsystem). So it would help if
you add the changed file or function to make it more unique.
The description can be improved. Please always consider that checkpatch
can be wrong. So checkpatch is not a justification.
I propose:
Align the * on each line of the block comment to improve readability.
Important is to describe the why this patch makes the code better.
You can mention the tool which gave you the hint but you do not have to.
If you send in a second version of this patch please use a change
history. Description from Dan under:
https://staticthinking.wordpress.com/2022/07/27/how-to-send-a-v2-patch/
Thanks for your support.
Bye Philipp
prev parent reply other threads:[~2024-08-28 18:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-28 15:00 [PATCH] staging: vt6655: Fix block comment alignment Dominik Karol Piątkowski
2024-08-28 18:42 ` Philipp Hortmann [this message]
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=7a042b36-4e1d-45bf-a9b6-e4e248ade30c@gmail.com \
--to=philipp.g.hortmann@gmail.com \
--cc=dominik.karol.piatkowski@protonmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.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