[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 4/7] misc: fix commonly doubled up words
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH v2 4/7] misc: fix commonly doubled up words |
Date: |
Thu, 7 Jul 2022 13:30:23 +0100 |
User-agent: |
Mutt/2.2.6 (2022-06-05) |
On Mon, Jul 04, 2022 at 04:52:40PM +0100, Peter Maydell wrote:
> On Mon, 4 Jul 2022 at 16:23, Daniel P. Berrangé <berrange@redhat.com> wrote:
> >
> > Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> > ---
>
> > --- a/docs/tools/qemu-pr-helper.rst
> > +++ b/docs/tools/qemu-pr-helper.rst
> > @@ -22,7 +22,7 @@ storage fabric. QEMU's SCSI passthrough devices
> > ``scsi-block``
> > and ``scsi-generic`` support passing guest persistent reservation
> > requests to a privileged external helper program. :program:`qemu-pr-helper`
> > is that external helper; it creates a socket which QEMU can
> > -connect to to communicate with it.
> > +connect to communicate with it.
>
> This text is correct as it stands, and the change is wrong.
I think the current text is a rather awkward, so I'll rephrase it
next time.
> > diff --git a/tests/qtest/microbit-test.c b/tests/qtest/microbit-test.c
> > index 04e199ec33..6cc1f5d932 100644
> > --- a/tests/qtest/microbit-test.c
> > +++ b/tests/qtest/microbit-test.c
> > @@ -449,9 +449,9 @@ static void test_nrf51_timer(void)
> > timer_set_prescaler(qts, 0);
> > /* Swept over in first step */
> > timer_set_cc(qts, 0, 2);
> > - /* Barely miss on first step */
> > + /* Barely miss in first step */
> > timer_set_cc(qts, 1, 162);
> > - /* Spot on on third step */
> > + /* Spot on in third step */
> > timer_set_cc(qts, 2, 480);
>
> These changes also look wrong.
It makes them consistent wth the first comment "Swept over in first step"
Also that 'Barely miss in first step' ought to say 'secound step'
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [PATCH v2 1/7] tests: introduce tree-wide code style checking, (continued)
- [PATCH v2 1/7] tests: introduce tree-wide code style checking, Daniel P . Berrangé, 2022/07/04
- [PATCH v2 3/7] tests/style: check for mixups of bool constants with int variables, Daniel P . Berrangé, 2022/07/04
- [PATCH v2 2/7] misc: fix mixups of bool constants with int variables, Daniel P . Berrangé, 2022/07/04
- [PATCH v2 5/7] tests/style: check for commonly doubled up words, Daniel P . Berrangé, 2022/07/04
- [PATCH v2 4/7] misc: fix commonly doubled up words, Daniel P . Berrangé, 2022/07/04
- [PATCH v2 7/7] tests/style: check qemu/osdep.h is included in all .c files, Daniel P . Berrangé, 2022/07/04
[PATCH v2 6/7] misc: ensure qemu/osdep.h is included in all .c files, Daniel P . Berrangé, 2022/07/04