Skip to contentSkip to conversation

hw/usb/hcd-xhci.c: spelling: tranfer

PATCH In review Michael Tokarev 3 participants 6 messages Nov 5, 2022 – Nov 6, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 hw/usb/hcd-xhci.c: spelling: tranfer

Fixes effaf5a240e03020f4ae953e10b764622c3e87cc
---
 hw/usb/hcd-xhci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/usb/hcd-xhci.c +1 -1
index 8299f35e66..b89b618ec2 100644
@@ -796,7 +796,7 @@ static int xhci_ring_chain_length(XHCIState *xhci, const XHCIRing *ring)
          */
     } while (length < TRB_LINK_LIMIT * 65536 / TRB_SIZE);
 
-    qemu_log_mask(LOG_GUEST_ERROR, "%s: exceeded maximum tranfer ring size!\n",
+    qemu_log_mask(LOG_GUEST_ERROR, "%s: exceeded maximum transfer ring size!\n",
                           __func__);
 
     return -1;
Signature · 1 line
2.30.2
Reviewed-by Stefan Weil on v1 1/2
#1 lore raw

Am 05.11.22 um 12:48 schrieb Michael Tokarev:

Quoted 11 lines
Fixes effaf5a240e03020f4ae953e10b764622c3e87cc
---
  hw/usb/hcd-xhci.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
hw/usb/hcd-xhci.c +0 -0
index 8299f35e66..b89b618ec2 100644

hw/usb/hcd-xhci.c static int xhci_ring_chain_length(XHCIState *xhci, const XHCIRing *ring) · line 802

Quoted 8 lines
hw/usb/hcd-xhci.c +1 -1
@@ -796,7 +796,7 @@ static int xhci_ring_chain_length(XHCIState *xhci, const XHCIRing *ring)
           */
      } while (length < TRB_LINK_LIMIT * 65536 / TRB_SIZE);
 
-    qemu_log_mask(LOG_GUEST_ERROR, "%s: exceeded maximum tranfer ring size!\n",
+    qemu_log_mask(LOG_GUEST_ERROR, "%s: exceeded maximum transfer ring size!\n",
                            __func__);
 
      return -1;
#2 lore raw

Am 05.11.22 um 12:57 schrieb Stefan Weil via:

Quoted 6 lines

Am 05.11.22 um 12:48 schrieb Michael Tokarev:

Quoted 5 lines
Fixes effaf5a240e03020f4ae953e10b764622c3e87cc

---
  hw/usb/hcd-xhci.c | 2 +-

  1 file changed, 1 insertion(+), 1 deletion(-)

All typos from this series were also found by codespell.

See https://qemu.weilnetz.de/test/typos7 for many more. That list was produced with make check-spelling from my previous patch).

Stefan

#3 lore raw

05.11.2022 15:23, Stefan Weil via wrote:
..

Quoted 5 lines

All typos from this series were also found by codespell.

See https://qemu.weilnetz.de/test/typos7 for many more. That list was produced with make check-spelling from my previous patch).

Yeah, codespell is a good thing. But qemu has just TOO MANY typos, and non-typos too (eg addd). I only patched a few places which are visible in the binaries.

/mjt

#4 lore raw

Am 05.11.22 um 22:24 schrieb Michael Tokarev:

Quoted 8 lines

05.11.2022 15:23, Stefan Weil via wrote:
..

Quoted 5 lines

All typos from this series were also found by codespell.

See https://qemu.weilnetz.de/test/typos7 for many more. That list was produced with make check-spelling from my previous patch).

Quoted 5 lines

Yeah, codespell is a good thing. But qemu has just TOO MANY typos, and non-typos too (eg addd). I only patched a few places which are visible in the binaries.

/mjt

More typos which are visible in binaries like firwmare, Changeing, Unknow, accomodate, migrateable, facilties, ... can be found with `git grep '"' | codespell -s -.

Stefan

Reviewed-by on v1 1/2
#5 lore raw
In reply to Michael Tokarev
Quoted 11 lines · Michael Tokarev
Fixes effaf5a240e03020f4ae953e10b764622c3e87cc
---
  hw/usb/hcd-xhci.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
hw/usb/hcd-xhci.c +0 -0
index 8299f35e66..b89b618ec2 100644

hw/usb/hcd-xhci.c static int xhci_ring_chain_length(XHCIState *xhci, const XHCIRing *ring) · line 802

Quoted 8 lines
hw/usb/hcd-xhci.c +1 -1
@@ -796,7 +796,7 @@ static int xhci_ring_chain_length(XHCIState *xhci, const XHCIRing *ring)
           */
      } while (length < TRB_LINK_LIMIT * 65536 / TRB_SIZE);
 
-    qemu_log_mask(LOG_GUEST_ERROR, "%s: exceeded maximum tranfer ring size!\n",
+    qemu_log_mask(LOG_GUEST_ERROR, "%s: exceeded maximum transfer ring size!\n",
                            __func__);
 
      return -1;