qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] fix some common typos


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] fix some common typos
Date: Wed, 9 May 2012 15:48:27 +0100

On 9 May 2012 15:42, Jim Meyering <address@hidden> wrote:
>
> These were identified using: http://github.com/lyda/misspell-check
> which I ran like this to create a bourne shell script using GNU sed's
> -i option:
>
> git ls-files|grep -vF .bin | misspellings -f - |grep -v '^ERROR:' |perl \
> -pe 's/^(.*?)\[(\d+)\]: (\w+) -> "(.*?)"$/sed -i '\''${2}s!$3!$4!'\'' $1/'
>
> Manually eliding the FP, "rela->real" and resolving "addres" to
> address (not "adders") we get this:
>
>  sed -i '450s!thru!through!' Changelog
>  sed -i '260s!neccessary!necessary!' coroutine-sigaltstack.c
>  sed -i '54s!miniscule!minuscule!' disas.c
>  sed -i '1094s!thru!through!' hw/usb/hcd-ehci.c
>  sed -i '1095s!thru!through!' hw/usb/hcd-ehci.c
>  sed -i '21s!unecessary!unnecessary!' qapi-schema-guest.json
>  sed -i '307s!explictly!explicitly!' qemu-ga.c
>  sed -i '490s!preceeding!preceding!' qga/commands-posix.c
>  sed -i '792s!addres!address!' qga/commands-posix.c
>  sed -i '6s!beeing!being!' tests/tcg/test-mmap.c
>
> Signed-off-by: Jim Meyering <address@hidden>
> ---
>  Changelog               | 2 +-
>  coroutine-sigaltstack.c | 2 +-
>  disas.c                 | 2 +-
>  hw/usb/hcd-ehci.c       | 4 ++--
>  qapi-schema-guest.json  | 2 +-
>  qemu-ga.c               | 2 +-
>  qga/commands-posix.c    | 4 ++--
>  tests/tcg/test-mmap.c   | 2 +-
>  8 files changed, 10 insertions(+), 10 deletions(-)
>
> diff --git a/Changelog b/Changelog
> index 8b63258..13eebef 100644
> --- a/Changelog
> +++ b/Changelog
> @@ -447,7 +447,7 @@ version 0.5.0:
>   - multi-target build
>   - fixed: no error code in hardware interrupts
>   - fixed: pop ss, mov ss, x and sti disable hardware irqs for the next insn
> -  - correct single stepping thru string operations
> +  - correct single stepping through string operations
>   - preliminary SPARC target support (Thomas M. Ogrisegg)
>   - tun-fd option (Rusty Russell)
>   - automatic IDE geometry detection
> diff --git a/coroutine-sigaltstack.c b/coroutine-sigaltstack.c
> index 7ff2d33..ddcb603 100644
> --- a/coroutine-sigaltstack.c
> +++ b/coroutine-sigaltstack.c
> @@ -257,7 +257,7 @@ static Coroutine *coroutine_new(void)
>     /*
>      * Now enter the trampoline again, but this time not as a signal
>      * handler. Instead we jump into it directly. The functionally
> -     * redundant ping-pong pointer arithmentic is neccessary to avoid
> +     * redundant ping-pong pointer arithmentic is necessary to avoid

Also "arithmetic".

Otherwise OK.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]