Fix new spelling bugs detected by codespell
PATCH 1/1 Fix new spelling bugs detected by codespell
These new bugs were detected in comments and in an error message:
addres->addressarithmentic->arithmeticexplictly->explicitlyneccessary->necessarypreceeding->precedingunecessary->unnecessary
--- 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(-)
coroutine-sigaltstack.c +1 -1
@@ -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. */
qapi-schema-guest.json +1 -1
@@ -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*
qemu-ga.c +1 -1
@@ -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;
qga/commands-posix.c +2 -2
@@ -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);
Signature · 1 line
1.7.9
Quoted 1 line · Stefan Weil
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
Am 12.05.2012 13:21, schrieb Peter Maydell:
Quoted 9 lines · Stefan Weil
Quoted 1 line
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.