diff mbox series

accel: Fix typo and grammar in comment

Message ID 20180712194454.26765-1-sw@weilnetz.de
State New
Headers show
Series accel: Fix typo and grammar in comment | expand

Commit Message

Stefan Weil July 12, 2018, 7:44 p.m. UTC
The typo was found by codespell.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 accel/tcg/translate-all.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Paolo Bonzini July 15, 2018, 2:30 p.m. UTC | #1
On 12/07/2018 21:44, Stefan Weil wrote:
> The typo was found by codespell.
> 
> Signed-off-by: Stefan Weil <sw@weilnetz.de>
> ---
>  accel/tcg/translate-all.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c
> index 49d77fad44..1571987113 100644
> --- a/accel/tcg/translate-all.c
> +++ b/accel/tcg/translate-all.c
> @@ -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
diff mbox series

Patch

diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c
index 49d77fad44..1571987113 100644
--- a/accel/tcg/translate-all.c
+++ b/accel/tcg/translate-all.c
@@ -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);
     }