Skip to contentSkip to conversation

accel: Fix typo and grammar in comment

PATCH Applied Stefan Weil 2 participants 2 messages Jul 12, 2018 – Jul 15, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 accel: Fix typo and grammar in comment

The typo was found by codespell.

---
 accel/tcg/translate-all.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
accel/tcg/translate-all.c +1 -1
index 49d77fad44..1571987113 100644
@@ -1795,7 +1795,7 @@ TranslationBlock *tb_gen_code(CPUState *cpu,
     tb->jmp_dest[0] = (uintptr_t)NULL;
     tb->jmp_dest[1] = (uintptr_t)NULL;
 
-    /* init original jump addresses wich has been set during tcg_gen_code() */
+    /* init original jump addresses which have been set during tcg_gen_code() */
     if (tb->jmp_reset_offset[0] != TB_JMP_RESET_OFFSET_INVALID) {
         tb_reset_jump(tb, 0);
     }
Signature · 1 line
2.11.0
#1 lore raw
Quoted 13 lines · Stefan Weil

The typo was found by codespell.

---
 accel/tcg/translate-all.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
accel/tcg/translate-all.c +0 -0
index 49d77fad44..1571987113 100644

accel/tcg/translate-all.c TranslationBlock *tb_gen_code(CPUState *cpu, · line 1801

Quoted 8 lines
accel/tcg/translate-all.c +1 -1
@@ -1795,7 +1795,7 @@ TranslationBlock *tb_gen_code(CPUState *cpu,
     tb->jmp_dest[0] = (uintptr_t)NULL;
     tb->jmp_dest[1] = (uintptr_t)NULL;
 
-    /* init original jump addresses wich has been set during tcg_gen_code() */
+    /* init original jump addresses which have been set during tcg_gen_code() */
     if (tb->jmp_reset_offset[0] != TB_JMP_RESET_OFFSET_INVALID) {
         tb_reset_jump(tb, 0);
     }

Queued, thanks.

Paolo