From patchwork Sat May 12 07:52:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Weil X-Patchwork-Id: 158699 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 32FD0B700D for ; Sat, 12 May 2012 17:52:27 +1000 (EST) Received: from localhost ([::1]:44002 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ST77p-00074T-50 for incoming@patchwork.ozlabs.org; Sat, 12 May 2012 03:52:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ST77h-000744-60 for qemu-devel@nongnu.org; Sat, 12 May 2012 03:52:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ST77f-0006oq-B4 for qemu-devel@nongnu.org; Sat, 12 May 2012 03:52:16 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:57884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ST77f-0006oh-1T for qemu-devel@nongnu.org; Sat, 12 May 2012 03:52:15 -0400 Received: from localhost (v220110690675601.yourvserver.net.local [127.0.0.1]) by v220110690675601.yourvserver.net (Postfix) with ESMTP id 53A6C7280017; Sat, 12 May 2012 09:52:13 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at weilnetz.de Received: from v220110690675601.yourvserver.net ([127.0.0.1]) by localhost (v220110690675601.yourvserver.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SraoWgOYp8DQ; Sat, 12 May 2012 09:52:12 +0200 (CEST) Received: by v220110690675601.yourvserver.net (Postfix, from userid 1000) id 7E9827280018; Sat, 12 May 2012 09:52:12 +0200 (CEST) From: Stefan Weil To: qemu-devel@nongnu.org Date: Sat, 12 May 2012 09:52:11 +0200 Message-Id: <1336809131-29756-1-git-send-email-sw@weilnetz.de> X-Mailer: git-send-email 1.7.9 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 78.47.199.172 Cc: Stefan Weil , Anthony Liguori Subject: [Qemu-devel] [PATCH 1.1] Fix new spelling bugs detected by codespell X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 --- 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(-) 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);