summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-11-23 07:26:04 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2012-12-07 12:34:12 +0100
commit993d46ce7e54f3d035d344ed1b145b13f9ac54b9 (patch)
tree399489643c6f35043625f3dd2a31c19906ff82ec /hw
parent4dbd84e26f53d3283baa463f390f9623e8913e8f (diff)
downloadqemu-993d46ce7e54f3d035d344ed1b145b13f9ac54b9.tar.gz
Fix spelling in comments and documentation
These spelling bugs were found by codespell: supressing -> suppressing transfered -> transferred Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/usb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/usb.h b/hw/usb.h
index 7d6de69ec4..f05eb1797f 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;