Fix new typos found by codespell
cover Fix new typos found by codespell
Happy New Year to everybody!
Regards
Stefan
[PATCH 1/3] target-tricore: Fix new typos
[PATCH 2/3] target-arm: Fix typo in comment (seperately -> separately) [PATCH 3/3] misc: Fix new typos in comments
PATCH 1/3 target-tricore: Fix new typos
adress -> address
managment -> management
--- target-tricore/csfr.def | 2 +- target-tricore/translate.c | 2 +- target-tricore/tricore-opcodes.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-)
target-tricore/csfr.def +1 -1
@@ -90,7 +90,7 @@ A(0xE200, CPM0, TRICORE_FEATURE_13) A(0xE280, CPM1, TRICORE_FEATURE_13) A(0xE300, CPM2, TRICORE_FEATURE_13) A(0xE380, CPM3, TRICORE_FEATURE_13) -/* memory Managment Registers */ +/* memory management registers */ A(0x8000, MMU_CON, TRICORE_FEATURE_13) A(0x8004, MMU_ASI, TRICORE_FEATURE_13) A(0x800C, MMU_TVA, TRICORE_FEATURE_13)
target-tricore/translate.c +1 -1
@@ -5022,7 +5022,7 @@ static void decode_32Bit_opc(CPUTriCoreState *env, DisasContext *ctx)case OPCM_32_RR_LOGICAL_SHIFT :decode_rr_logical_shift (env, ctx);break ; -case OPCM_32_RR_ADRESS : +case OPCM_32_RR_ADDRESS :decode_rr_address (env, ctx);break ;case OPCM_32_RR_IDIRECT :
target-tricore/tricore-opcodes.h +2 -2
@@ -503,7 +503,7 @@ enum {/* RR Format */ OPCM_32_RR_LOGICAL_SHIFT =0x0f ,OPCM_32_RR_ACCUMULATOR =0x0b , -OPCM_32_RR_ADRESS =0x01 , +OPCM_32_RR_ADDRESS =0x01 ,OPCM_32_RR_DIVIDE =0x4b , OPCM_32_RR_IDIRECT = 0x2d,/* RR1 Format */
@@ -1082,7 +1082,7 @@ enum {OPC2_32_RR_XOR_LT_U =0x32 , OPC2_32_RR_XOR_NE = 0x30, }; -/* OPCM_32_RR_ADRESS */ +/* OPCM_32_RR_ADDRESS */ enum {OPC2_32_RR_ADD_A =0x01 , OPC2_32_RR_ADDSC_A = 0x60,
Signature · 1 line
1.7.10.4
PATCH 2/3 target-arm: Fix typo in comment (seperately -> separately)
In reply to Stefan Weil--- target-arm/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
target-arm/helper.c +1 -1
@@ -972,7 +972,7 @@ static const ARMCPRegInfo v7_cp_reginfo[] = {* The override is necessary because of the overly-broad TLB_LOCKDOWN * definition. */ -/* MAIR0/1 are defined seperately from their 64-bit counterpart which +/* MAIR0/1 are defined separately from their 64-bit counterpart which * allows them to assign the correct fieldoffset based on the endianness * handled in the field definitions. */
Signature · 1 line
1.7.10.4
PATCH 3/3 misc: Fix new typos in comments
In reply to Stefan Weilrecieve -> receive
suprise -> surprise
--- include/hw/hotplug.h | 2 +- tests/ahci-test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
include/hw/hotplug.h +1 -1
@@ -52,7 +52,7 @@ typedef void (*hotplug_fn)(HotplugHandler *plug_handler,* require asynchronous unplug handling. * @unplug: unplug callback. * Used for device removal with devices that implement -* asynchronous and synchronous (suprise) removal. +* asynchronous and synchronous (surprise) removal. */ typedef struct HotplugHandlerClass { /* <private> */
tests/ahci-test.c +1 -1
@@ -1289,7 +1289,7 @@ static void ahci_test_identify(QPCIDevice *ahci, void *hba_base)PX_WREG (i,AHCI_PX_IS , reg); g_assert_cmphex(PX_RREG(i, AHCI_PX_IS), ==, 0); -/* Wipe the FIS-Recieve Buffer */ +/* Wipe the FIS-Receive Buffer */ fb =PX_RREG (i,AHCI_PX_FB ); g_assert_cmphex(fb, !=, 0);qmemset (fb,0x00 ,0x100 );
Signature · 1 line
1.7.10.4
Re: [Qemu-devel] [PATCH 3/3] misc: Fix new typos in comments
Quoted 30 lines · Stefan Weil
recieve -> receive
suprise -> surpriseCc Igor Mammedov <[email protected]>Cc John Snow <[email protected]>Signed-off-by Stefan Weil <[email protected]>--- include/hw/hotplug.h | 2 +- tests/ahci-test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)include/hw/hotplug.h +1
-1@@ -52,7 +52,7 @@ typedef void (*hotplug_fn)(HotplugHandler *plug_handler,* require asynchronous unplug handling. * @unplug: unplug callback. * Used for device removal with devices that implement -* asynchronous and synchronous (suprise) removal. +* asynchronous and synchronous (surprise) removal. */ typedef struct HotplugHandlerClass { /* <private> */tests/ahci-test.c +0
-0
tests/ahci-test.c static void ahci_test_identify(QPCIDevice *ahci, void *hba_base) · line 1295
Quoted 8 lines
tests/ahci-test.c +1
-1@@ -1289,7 +1289,7 @@ static void ahci_test_identify(QPCIDevice *ahci, void *hba_base)PX_WREG (i,AHCI_PX_IS , reg); g_assert_cmphex(PX_RREG(i, AHCI_PX_IS), ==, 0); -/* Wipe the FIS-Recieve Buffer */ +/* Wipe the FIS-Receive Buffer */ fb =PX_RREG (i,AHCI_PX_FB ); g_assert_cmphex(fb, !=, 0);qmemset (fb,0x00 ,0x100 );
I seem to have missed a certain elementary school rhyme.
Michael Tokarev
AppliedQuoted 3 lines · Stefan Weil
[PATCH 1/3] target-tricore: Fix new typos
[PATCH 2/3] target-arm: Fix typo in comment (seperately -> separately) [PATCH 3/3] misc: Fix new typos in comments
Applied all to -trivial, thank you!
/mjt