From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-devel@nongnu.org, qemu-trivial@nongnu.org,
laurent@vivier.eu, mjt@tls.msk.ru, danielhb413@gmail.com,
clg@kaod.org, mst@redhat.com, qemu-arm@nongnu.org
Subject: Re: [PATCH] Trivial: 3 char repeat typos
Date: Mon, 23 May 2022 11:24:33 +0100 [thread overview]
Message-ID: <Yotg4WL1RYpiLfM2@work-vm> (raw)
In-Reply-To: <CAFEAcA8G0foQ0WrvknfdCTOUZHNEomJmB19xxTmjdzrS6xv18w@mail.gmail.com>
* Peter Maydell (peter.maydell@linaro.org) wrote:
> On Mon, 23 May 2022 at 11:09, Dr. David Alan Gilbert (git)
> <dgilbert@redhat.com> wrote:
> >
> > From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
> >
> > Inspired by Julia Lawall's fixing of Linux
> > kernel comments, I looked at qemu, although I did it manually.
> >
> > Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
>
> Checkpatch would probably ask you to fix up some of the comment
> styles when you touch some of these. Either way:
The only one it actually moaned about was hw/pci/shpc.c's comment style.
Does this need fixing in this patch?
> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Thanks,
Dave
> > diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c
> > index 04427e073f..2467c5bf76 100644
> > --- a/target/arm/cpu64.c
> > +++ b/target/arm/cpu64.c
> > @@ -997,7 +997,7 @@ static void aarch64_a64fx_initfn(Object *obj)
> > cpu->gic_vpribits = 5;
> > cpu->gic_vprebits = 5;
> >
> > - /* Suppport of A64FX's vector length are 128,256 and 512bit only */
> > + /* Support of A64FX's vector length are 128,256 and 512bit only */
>
> This one came up in review of a different patch that happened to touch
> this function. We should ideally rephrase it to fix all of the typo, the
> missing space after comma and the unnatural grammar:
>
> /* The A64FX supports only 128, 256 and 512 bit vector lengths */
> thanks
> -- PMM
>
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
next prev parent reply other threads:[~2022-05-23 10:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-23 9:56 [PATCH] Trivial: 3 char repeat typos Dr. David Alan Gilbert (git)
2022-05-23 10:12 ` Daniel P. Berrangé
2022-05-23 10:13 ` Peter Maydell
2022-05-23 10:24 ` Dr. David Alan Gilbert [this message]
2022-05-23 10:34 ` Peter Maydell
2022-05-23 10:52 ` Cédric Le Goater
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=Yotg4WL1RYpiLfM2@work-vm \
--to=dgilbert@redhat.com \
--cc=clg@kaod.org \
--cc=danielhb413@gmail.com \
--cc=laurent@vivier.eu \
--cc=mjt@tls.msk.ru \
--cc=mst@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
/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;
as well as URLs for NNTP newsgroup(s).