usb: fix spelling errors in usb-linux.c
authorBrad Hards <bradh@frogmouth.net>
Wed, 13 Apr 2011 09:45:33 +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>
usb-linux.c

index d958853..1f33c2c 100644 (file)
@@ -107,7 +107,7 @@ enum {
 /*
  * Control transfer state.
  * Note that 'buffer' _must_ follow 'req' field because
- * we need contigious buffer when we submit control URB.
+ * we need contiguous buffer when we submit control URB.
  */
 struct ctrl_struct {
     uint16_t len;
@@ -580,7 +580,7 @@ static int usb_host_handle_control(USBHostDevice *s, USBPacket *p)
     /*
      * Setup ctrl transfer.
      *
-     * s->ctrl is layed out such that data buffer immediately follows
+     * s->ctrl is laid out such that data buffer immediately follows
      * 'req' struct which is exactly what usbdevfs expects.
      */
     urb = &aurb->urb;