From patchwork Fri Nov 23 06:26:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Weil X-Patchwork-Id: 201243 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 9BF482C0040 for ; Fri, 23 Nov 2012 17:26:29 +1100 (EST) Received: from localhost ([::1]:41453 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbmiZ-0007u9-54 for incoming@patchwork.ozlabs.org; Fri, 23 Nov 2012 01:26:27 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbmiO-0007ty-8W for qemu-devel@nongnu.org; Fri, 23 Nov 2012 01:26:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TbmiJ-0002aQ-Hb for qemu-devel@nongnu.org; Fri, 23 Nov 2012 01:26:16 -0500 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:48962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbmiJ-0002aM-BA; Fri, 23 Nov 2012 01:26:11 -0500 Received: from localhost (v220110690675601.yourvserver.net.local [127.0.0.1]) by v220110690675601.yourvserver.net (Postfix) with ESMTP id 4BF16728003A; Fri, 23 Nov 2012 07:26:10 +0100 (CET) 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 tjaGHOoYfvQN; Fri, 23 Nov 2012 07:26:04 +0100 (CET) Received: by v220110690675601.yourvserver.net (Postfix, from userid 1000) id CF4B4728003F; Fri, 23 Nov 2012 07:26:04 +0100 (CET) From: Stefan Weil To: qemu-trivial@nongnu.org Date: Fri, 23 Nov 2012 07:26:04 +0100 Message-Id: <1353651964-10507-1-git-send-email-sw@weilnetz.de> X-Mailer: git-send-email 1.7.10.4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 78.47.199.172 Cc: Stefan Weil , qemu-devel@nongnu.org, Gerd Hoffmann Subject: [Qemu-devel] [PATCH] Fix spelling in comments and documentation 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 spelling bugs were found by codespell: supressing -> suppressing transfered -> transferred Signed-off-by: Stefan Weil --- hw/usb.h | 6 +++--- tests/qemu-iotests/iotests.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/usb.h b/hw/usb.h index 7d6de69..f05eb17 100644 --- a/hw/usb.h +++ b/hw/usb.h @@ -282,7 +282,7 @@ typedef struct USBDeviceClass { * Called from handle_packet(). * * Status gets stored in p->status, and if p->status == USB_RET_SUCCESS - * then the number of bytes transfered is stored in p->actual_length + * then the number of bytes transferred is stored in p->actual_length */ void (*handle_control)(USBDevice *dev, USBPacket *p, int request, int value, int index, int length, uint8_t *data); @@ -292,7 +292,7 @@ typedef struct USBDeviceClass { * Called from handle_packet(). * * Status gets stored in p->status, and if p->status == USB_RET_SUCCESS - * then the number of bytes transfered is stored in p->actual_length + * then the number of bytes transferred is stored in p->actual_length */ void (*handle_data)(USBDevice *dev, USBPacket *p); @@ -358,7 +358,7 @@ struct USBPacket { bool short_not_ok; bool int_req; int status; /* USB_RET_* status code */ - int actual_length; /* Number of bytes actually transfered */ + int actual_length; /* Number of bytes actually transferred */ /* Internal use by the USB layer. */ USBPacketState state; USBCombinedPacket *combined; diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu-iotests/iotests.py index b2eaf20..0be5c7e 100644 --- a/tests/qemu-iotests/iotests.py +++ b/tests/qemu-iotests/iotests.py @@ -43,7 +43,7 @@ def qemu_img(*args): return subprocess.call(qemu_img_args + list(args), stdin=devnull, stdout=devnull) def qemu_img_verbose(*args): - '''Run qemu-img without supressing its output and return the exit code''' + '''Run qemu-img without suppressing its output and return the exit code''' return subprocess.call(qemu_img_args + list(args)) def qemu_io(*args):