diff mbox

[1.1] Fix new spelling bugs detected by codespell

Message ID 1336809131-29756-1-git-send-email-sw@weilnetz.de
State Superseded
Headers show

Commit Message

Stefan Weil May 12, 2012, 7:52 a.m. UTC
These new bugs were detected in comments and in an error message:

addres->address
arithmentic->arithmetic
explictly->explicitly
neccessary->necessary
preceeding->preceding
unecessary->unnecessary

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 coroutine-sigaltstack.c |    2 +-
 qapi-schema-guest.json  |    2 +-
 qemu-ga.c               |    2 +-
 qga/commands-posix.c    |    4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

Comments

Peter Maydell May 12, 2012, 11:21 a.m. UTC | #1
On 12 May 2012 08:52, Stefan Weil <sw@weilnetz.de> wrote:
> These new bugs were detected in comments and in an error message:

There's already a patch on the list to fix at least some of these:
http://patchwork.ozlabs.org/patch/157992/
including the error message one which is the most important
to fix for 1.1.

-- PMM
Stefan Weil May 12, 2012, 11:46 a.m. UTC | #2
Am 12.05.2012 13:21, schrieb Peter Maydell:
> On 12 May 2012 08:52, Stefan Weil <sw@weilnetz.de> wrote:
>> These new bugs were detected in comments and in an error message:
>
> There's already a patch on the list to fix at least some of these:
> http://patchwork.ozlabs.org/patch/157992/
> including the error message one which is the most important
> to fix for 1.1.
>
> -- PMM


Thanks, that patch fixes the same and some more spellings
than my patch, so my patch is not needed.

It would be really good to have bug fixes committed faster,
especially when there is a narrow time frame for a new
QEMU release. One day after a patch was ack'ed should be
possible.

Anthony, could you please commit
http://patchwork.ozlabs.org/patch/157992/?
Or do you only accept pull requests for version 1.1?

Regards,
Stefan W.
diff mbox

Patch

diff --git a/coroutine-sigaltstack.c b/coroutine-sigaltstack.c
index 7ff2d33..7fa2e85 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 arithmetic is necessary to avoid
      * type-conversion warnings related to the `volatile' qualifier and
      * the fact that `jmp_buf' usually is an array type.
      */
diff --git a/qapi-schema-guest.json b/qapi-schema-guest.json
index d7a073e..692b570 100644
--- a/qapi-schema-guest.json
+++ b/qapi-schema-guest.json
@@ -18,7 +18,7 @@ 
 # lexer/tokenizer/parser state should be flushed/reset in
 # preparation for reliably receiving the subsequent response. As
 # an optimization, clients may opt to ignore all data until a
-# sentinel value is receiving to avoid unecessary processing of
+# sentinel value is receiving to avoid unnecessary processing of
 # stale data.
 #
 # Similarly, clients should also precede this *request*
diff --git a/qemu-ga.c b/qemu-ga.c
index 216be39..680997e 100644
--- a/qemu-ga.c
+++ b/qemu-ga.c
@@ -304,7 +304,7 @@  static void ga_disable_non_whitelisted(void)
     g_free(list_head);
 }
 
-/* [re-]enable all commands, except those explictly blacklisted by user */
+/* [re-]enable all commands, except those explicitly blacklisted by user */
 static void ga_enable_non_blacklisted(GList *blacklist)
 {
     char **list_head, **list;
diff --git a/qga/commands-posix.c b/qga/commands-posix.c
index d58730a..e448431 100644
--- a/qga/commands-posix.c
+++ b/qga/commands-posix.c
@@ -487,7 +487,7 @@  int64_t qmp_guest_fsfreeze_thaw(Error **err)
          * was returned the filesystem was *not* unfrozen by that particular
          * call.
          *
-         * since multiple preceeding FIFREEZEs require multiple calls to FITHAW
+         * since multiple preceding FIFREEZEs require multiple calls to FITHAW
          * to unfreeze, continuing issuing FITHAW until an error is returned,
          * in which case either the filesystem is in an unfreezable state, or,
          * more likely, it was thawed previously (and remains so afterward).
@@ -789,7 +789,7 @@  GuestNetworkInterfaceList *qmp_guest_network_get_interfaces(Error **errp)
             strncpy(ifr.ifr_name,  info->value->name, IF_NAMESIZE);
             if (ioctl(sock, SIOCGIFHWADDR, &ifr) == -1) {
                 snprintf(err_msg, sizeof(err_msg),
-                         "failed to get MAC addres of %s: %s",
+                         "failed to get MAC address of %s: %s",
                          ifa->ifa_name,
                          strerror(errno));
                 error_set(errp, QERR_QGA_COMMAND_FAILED, err_msg);