usb: trivial spelling fixes
authorBrad Hards <bradh@frogmouth.net>
Wed, 13 Apr 2011 09:45:31 +0000 (19:45 +1000)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Sat, 16 Apr 2011 11:24:28 +0000 (12:24 +0100)
Signed-off-by: Brad Hards <bradh@frogmouth.net>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
hw/usb-msd.c

index 76f5b027b2d277517ef2f5ec8d8f7b0a117efd31..947fd3f83c6975340b42241fd892946d3cda5b31 100644 (file)
@@ -33,7 +33,7 @@ do { printf("usb-msd: " fmt , ## __VA_ARGS__); } while (0)
 
 enum USBMSDMode {
     USB_MSDM_CBW, /* Command Block.  */
-    USB_MSDM_DATAOUT, /* Tranfer data to device.  */
+    USB_MSDM_DATAOUT, /* Transfer data to device.  */
     USB_MSDM_DATAIN, /* Transfer data from device.  */
     USB_MSDM_CSW /* Command Status.  */
 };
@@ -253,7 +253,7 @@ static void usb_msd_command_complete(SCSIBus *bus, int reason, uint32_t tag,
         usb_msd_copy_data(s);
         if (s->usb_len == 0) {
             /* Set s->packet to NULL before calling usb_packet_complete
-               because annother request may be issued before
+               because another request may be issued before
                usb_packet_complete returns.  */
             DPRINTF("Packet complete %p\n", p);
             s->packet = NULL;