Fix spelling in documentation and comments (similiar -> similar)
PATCH 1/2 Fix spelling in documentation and comments (similiar -> similar)
This bug was detected by codespell.
In mips_mipssim.c a grammatical error was fixed, too.
Signed-off-by Stefan Weil <[email protected]>
--- docs/libcacard.txt | 2 +- hw/mips_mipssim.c | 2 +- qemu-doc.texi | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-)
docs/libcacard.txt +1 -1
@@ -399,7 +399,7 @@ functions: This function will automatically generate the appropriate new reader events and add the reader to the list. - To create a new card, the virtual card emulator will call a similiar + To create a new card, the virtual card emulator will call a similar function. VCard *vcard_new(VCardEmul *card_emul,
hw/mips_mipssim.c +1 -1
@@ -1,7 +1,7 @@/* * QEMU/mipssim emulation * -* Emulates a very simple machine model similiar to the one use by the +* Emulates a very simple machine model similar to the one used by the * proprietary MIPS emulator. * * Copyright (c) 2007 Thiemo Seufer
qemu-doc.texi +2 -2
@@ -1749,7 +1749,7 @@ PC Keyboard IDE controller @end itemize -The mipssim pseudo board emulation provides an environment similiar +The mipssim pseudo board emulation provides an environment similar to what the proprietary MIPS emulator uses for running Linux. It supports:
@@ -2141,7 +2141,7 @@ Xtensa emulator pseudo board "sim" Avnet LX60/LX110/LX200 board @end itemize -The sim pseudo board emulation provides an environment similiar +The sim pseudo board emulation provides an environment similar to one provided by the proprietary Tensilica ISS. It supports:
Signature · 1 line
1.7.2.5
PATCH 2/2 Fix some spelling bugs in documentation and comments
These errors were detected by codespell:
remaing -> remaining
soley -> solely
virutal -> virtual
seperate -> separate
libcacard.txt still needs some more patches.
Signed-off-by Stefan Weil <[email protected]>
--- block-migration.c | 2 +- docs/libcacard.txt | 6 +++--- docs/qapi-code-gen.txt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-)
block-migration.c +1 -1
@@ -521,7 +521,7 @@ static int is_stage2_completed(void)if ((remaining_dirty / bwidth) <=migrate_max_downtime ()) { -/* finish stage2 because we think that we can finish remaing work +/* finish stage2 because we think that we can finish remaining work below max_downtime */ return 1 ;
docs/libcacard.txt +3 -3
@@ -281,7 +281,7 @@ create card responses. VCardResponse *vcard_make_response(VCard7816Status status); This is the most basic function to get a response. This function will - return a response the consists soley one 2 byte status code. If that status + return a response the consists solely one 2 byte status code. If that status code is defined in card_7816t.h, then this function is guarrenteed to return a response with that status. If a cart type specific status code is passed and vcard_make_response fails to allocate the appropriate memory
@@ -327,7 +327,7 @@ and applet. int vcard_emul_get_login_count(VCard *card); - This function returns the the number of remaing login attempts for this + This function returns the the number of remaining login attempts for this card. If the card emulator does not know, or the card does not have a way of giving this information, this function returns -1.
@@ -373,7 +373,7 @@ functions: The options structure is built by another function in the virtual card interface where a string of virtual card emulator specific strings are - mapped to the options. The actual structure is defined by the virutal card + mapped to the options. The actual structure is defined by the virtual card emulator and is used to determine the configuration of soft cards, or to determine which physical cards to present to the guest.
docs/qapi-code-gen.txt +1 -1
@@ -14,7 +14,7 @@ To map QMP-defined interfaces to the native C QAPI implementations, a JSON-based schema is used to define types and function signatures, and a set of scripts is used to generate types/signatures, and marshaling/dispatch code. The QEMU Guest Agent also uses these -scripts, paired with a seperate schema, to generate +scripts, paired with a separate schema, to generate marshaling/dispatch code for the guest agent server running in the guest.
Signature · 1 line
1.7.2.5