[Qemu-devel] [PATCH] accel: Fix typo and grammar in comment

Stefan Weil posted 1 patch 7 years, 3 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180712194454.26765-1-sw@weilnetz.de
Test checkpatch passed
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
accel/tcg/translate-all.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[Qemu-devel] [PATCH] accel: Fix typo and grammar in comment
Posted by Stefan Weil 7 years, 3 months ago
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);
     }
-- 
2.11.0


Re: [Qemu-devel] [PATCH] accel: Fix typo and grammar in comment
Posted by Paolo Bonzini 7 years, 3 months ago
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