[PATCH] accel/tcg: Fix typo in translator_io_start() description

Philippe Mathieu-Daudé posted 1 patch 8 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230830160834.42069-1-philmd@linaro.org
include/exec/translator.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] accel/tcg: Fix typo in translator_io_start() description
Posted by Philippe Mathieu-Daudé 8 months ago
Missed while reviewing commit dfd1b81274
("accel/tcg: Introduce translator_io_start").

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 include/exec/translator.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/exec/translator.h b/include/exec/translator.h
index a53d3243d4..4e17c4f401 100644
--- a/include/exec/translator.h
+++ b/include/exec/translator.h
@@ -159,7 +159,7 @@ bool translator_use_goto_tb(DisasContextBase *db, vaddr dest);
  * translator_io_start
  * @db: Disassembly context
  *
- * If icount is enabled, set cpu->can_to_io, adjust db->is_jmp to
+ * If icount is enabled, set cpu->can_do_io, adjust db->is_jmp to
  * DISAS_TOO_MANY if it is still DISAS_NEXT, and return true.
  * Otherwise return false.
  */
-- 
2.41.0


Re: [PATCH] accel/tcg: Fix typo in translator_io_start() description
Posted by Richard Henderson 8 months ago
On 8/30/23 09:08, Philippe Mathieu-Daudé wrote:
> Missed while reviewing commit dfd1b81274
> ("accel/tcg: Introduce translator_io_start").
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
>   include/exec/translator.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/exec/translator.h b/include/exec/translator.h
> index a53d3243d4..4e17c4f401 100644
> --- a/include/exec/translator.h
> +++ b/include/exec/translator.h
> @@ -159,7 +159,7 @@ bool translator_use_goto_tb(DisasContextBase *db, vaddr dest);
>    * translator_io_start
>    * @db: Disassembly context
>    *
> - * If icount is enabled, set cpu->can_to_io, adjust db->is_jmp to
> + * If icount is enabled, set cpu->can_do_io, adjust db->is_jmp to
>    * DISAS_TOO_MANY if it is still DISAS_NEXT, and return true.
>    * Otherwise return false.
>    */

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

And queued to tcg-next.

r~