From patchwork Mon Apr 4 21:54:04 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brad Hards X-Patchwork-Id: 89720 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id E523CB6F8C for ; Tue, 5 Apr 2011 08:03:43 +1000 (EST) Received: from localhost ([127.0.0.1]:42823 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6rqB-0004Du-T9 for incoming@patchwork.ozlabs.org; Mon, 04 Apr 2011 18:01:44 -0400 Received: from [140.186.70.92] (port=51594 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6ris-0007Lc-G8 for qemu-devel@nongnu.org; Mon, 04 Apr 2011 17:54:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6rir-0006lZ-57 for qemu-devel@nongnu.org; Mon, 04 Apr 2011 17:54:10 -0400 Received: from ipmail07.adl2.internode.on.net ([150.101.137.131]:26355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6riq-0006kk-QZ for qemu-devel@nongnu.org; Mon, 04 Apr 2011 17:54:09 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqkGAP07mk2WZXPN/2dsb2JhbACYX418wxaFawQ Received: from ppp115-205.static.internode.on.net (HELO incana.localnet) ([150.101.115.205]) by ipmail07.adl2.internode.on.net with ESMTP; 05 Apr 2011 07:24:06 +0930 From: Brad Hards To: qemu-devel@nongnu.org Date: Tue, 5 Apr 2011 07:54:04 +1000 User-Agent: KMail/1.13.5 (Linux/2.6.35-28-generic; KDE/4.5.1; x86_64; ; ) MIME-Version: 1.0 Message-Id: <201104050754.04561.bradh@frogmouth.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 150.101.137.131 Subject: [Qemu-devel] [PATCH] Minor spelling mistakes in hw/usb-ccid.c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Hi, While looking at David Gibson's build-fix for hw/usb-ccid.c, I noticed a spello in a comment on the following (unchanged) line. This patch fixes that, and a couple of other spellos, in that file. Brad - - From e24a4cfce56799e091ce75aafa20c697ec5fe685 Mon Sep 17 00:00:00 2001 From: Brad Hards Date: Tue, 5 Apr 2011 07:39:10 +1000 Subject: [PATCH] usb-ccid: spelling fixes. Signed-off-by: Brad Hards --- hw/usb-ccid.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/usb-ccid.c b/hw/usb-ccid.c index 44156cc..079b4a2 100644 --- a/hw/usb-ccid.c +++ b/hw/usb-ccid.c @@ -22,7 +22,7 @@ * "Universal Serial Bus, Device Class: Smart Card" * Specification for Integrated Circuit(s) Cards Interface Devices * - * Endianess note: from the spec (1.3) + * Endianness note: from the spec (1.3) * "Fields that are larger than a byte are stored in little endian" * * KNOWN BUGS @@ -172,7 +172,7 @@ enum { CLOCK_STATUS_RUNNING = 0, /* * 0 - Clock Running, 1 - Clock stopped in State L, 2 - H, - * 3 - unkonwn state. rest are RFU + * 3 - unknown state. rest are RFU */ }; @@ -1200,7 +1200,7 @@ void ccid_card_card_error(CCIDCardState *card, uint64_t error) s->bmCommandStatus = COMMAND_STATUS_FAILED; s->last_answer_error = error; DPRINTF(s, 1, "VSC_Error: %" PRIX64 "\n", s->last_answer_error); - /* TODO: these error's should be more verbose and propogated to the guest.*/ + /* TODO: these errors should be more verbose and propagated to the guest.*/ /* * We flush all pending answers on CardRemove message in ccid-card-passthru, * so check that first to not trigger abort @@ -1319,7 +1319,7 @@ static void ccid_pre_save(void *opaque) if (s->dev.attached) { /* * Migrating an open device, ignore reconnection CHR_EVENT to avoid an - * erronous detach. + * erroneous detach. */ s->migration_state = MIGRATION_MIGRATED; }