diff mbox series

[RFC,04/14] rx/: fix some comment spelling errors

Message ID 20200930095321.2006-5-zhaolichang@huawei.com
State Superseded
Headers show
Series fix some comment spelling errors | expand

Commit Message

Lichang Zhao Sept. 30, 2020, 9:53 a.m. UTC
I found that there are many spelling errors in the comments of qemu/target/rx.
I used spellcheck to check the spelling errors and found some errors in the folder.

Signed-off-by: zhaolichang <zhaolichang@huawei.com>
---
 target/rx/op_helper.c | 2 +-
 target/rx/translate.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Philippe Mathieu-Daudé Sept. 30, 2020, 10:25 a.m. UTC | #1
On 9/30/20 11:53 AM, zhaolichang wrote:
> I found that there are many spelling errors in the comments of qemu/target/rx.
> I used spellcheck to check the spelling errors and found some errors in the folder.
> 
> Signed-off-by: zhaolichang <zhaolichang@huawei.com>

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

> ---
>  target/rx/op_helper.c | 2 +-
>  target/rx/translate.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/target/rx/op_helper.c b/target/rx/op_helper.c
> index f89d294..59389f4 100644
> --- a/target/rx/op_helper.c
> +++ b/target/rx/op_helper.c
> @@ -318,7 +318,7 @@ void helper_swhile(CPURXState *env, uint32_t sz)
>      env->psw_c = (tmp <= env->regs[2]);
>  }
>  
> -/* accumlator operations */
> +/* accumulator operations */
>  void helper_rmpa(CPURXState *env, uint32_t sz)
>  {
>      uint64_t result_l, prev;
> diff --git a/target/rx/translate.c b/target/rx/translate.c
> index 482278e..9ea941c 100644
> --- a/target/rx/translate.c
> +++ b/target/rx/translate.c
> @@ -1089,7 +1089,7 @@ static void rx_sub(TCGv ret, TCGv arg1, TCGv arg2)
>      tcg_gen_xor_i32(temp, arg1, arg2);
>      tcg_gen_and_i32(cpu_psw_o, cpu_psw_o, temp);
>      tcg_temp_free_i32(temp);
> -    /* CMP not requred return */
> +    /* CMP not required return */
>      if (ret) {
>          tcg_gen_mov_i32(ret, cpu_psw_s);
>      }
>
David Edmondson Sept. 30, 2020, 10:51 a.m. UTC | #2
On Wednesday, 2020-09-30 at 17:53:11 +08, zhaolichang wrote:

> I found that there are many spelling errors in the comments of qemu/target/rx.
> I used spellcheck to check the spelling errors and found some errors in the folder.
>
> Signed-off-by: zhaolichang <zhaolichang@huawei.com>

Reviewed-by: David Edmondson <david.edmondson@oracle.com>

> ---
>  target/rx/op_helper.c | 2 +-
>  target/rx/translate.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/target/rx/op_helper.c b/target/rx/op_helper.c
> index f89d294..59389f4 100644
> --- a/target/rx/op_helper.c
> +++ b/target/rx/op_helper.c
> @@ -318,7 +318,7 @@ void helper_swhile(CPURXState *env, uint32_t sz)
>      env->psw_c = (tmp <= env->regs[2]);
>  }
>  
> -/* accumlator operations */
> +/* accumulator operations */
>  void helper_rmpa(CPURXState *env, uint32_t sz)
>  {
>      uint64_t result_l, prev;
> diff --git a/target/rx/translate.c b/target/rx/translate.c
> index 482278e..9ea941c 100644
> --- a/target/rx/translate.c
> +++ b/target/rx/translate.c
> @@ -1089,7 +1089,7 @@ static void rx_sub(TCGv ret, TCGv arg1, TCGv arg2)
>      tcg_gen_xor_i32(temp, arg1, arg2);
>      tcg_gen_and_i32(cpu_psw_o, cpu_psw_o, temp);
>      tcg_temp_free_i32(temp);
> -    /* CMP not requred return */
> +    /* CMP not required return */
>      if (ret) {
>          tcg_gen_mov_i32(ret, cpu_psw_s);
>      }
> -- 
> 2.26.2.windows.1

dme.
diff mbox series

Patch

diff --git a/target/rx/op_helper.c b/target/rx/op_helper.c
index f89d294..59389f4 100644
--- a/target/rx/op_helper.c
+++ b/target/rx/op_helper.c
@@ -318,7 +318,7 @@  void helper_swhile(CPURXState *env, uint32_t sz)
     env->psw_c = (tmp <= env->regs[2]);
 }
 
-/* accumlator operations */
+/* accumulator operations */
 void helper_rmpa(CPURXState *env, uint32_t sz)
 {
     uint64_t result_l, prev;
diff --git a/target/rx/translate.c b/target/rx/translate.c
index 482278e..9ea941c 100644
--- a/target/rx/translate.c
+++ b/target/rx/translate.c
@@ -1089,7 +1089,7 @@  static void rx_sub(TCGv ret, TCGv arg1, TCGv arg2)
     tcg_gen_xor_i32(temp, arg1, arg2);
     tcg_gen_and_i32(cpu_psw_o, cpu_psw_o, temp);
     tcg_temp_free_i32(temp);
-    /* CMP not requred return */
+    /* CMP not required return */
     if (ret) {
         tcg_gen_mov_i32(ret, cpu_psw_s);
     }