Skip to contentSkip to conversation

Fix spelling (transfered -> transferred, supressing -> suppressing)

PATCH In review Stefan Weil 1 participant 2 messages Dec 9, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix spelling (transfered -> transferred, supressing -> suppressing)

These spellings were found and fixed by codespell.

---
 hw/usb.h                      |    6 +++---
 tests/qemu-iotests/iotests.py |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
hw/usb.h +3 -3
index 7d6de69..f05eb17 100644
@@ -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;
tests/qemu-iotests/iotests.py +1 -1
index b2eaf20..0be5c7e 100644
@@ -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):
Signature · 1 line
1.7.10.4
#1 lore raw

Am 09.12.2012 22:31, schrieb Stefan Weil:

Quoted 44 lines

These spellings were found and fixed by codespell.

---
  hw/usb.h                      |    6 +++---
  tests/qemu-iotests/iotests.py |    2 +-
  2 files changed, 4 insertions(+), 4 deletions(-)
hw/usb.h +3 -3
index 7d6de69..f05eb17 100644
@@ -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;
tests/qemu-iotests/iotests.py +0 -0
index b2eaf20..0be5c7e 100644

tests/qemu-iotests/iotests.py def qemu_img(*args): · line 49

Quoted 8 lines
tests/qemu-iotests/iotests.py +1 -1
@@ -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):

Please ignore this patch - it was already applied to qemu-trivial. The commit to git master is still pending.