[PATCH] Fix some comment spelling errors.

Cameron Esfahani via posted 1 patch 4 years, 4 months ago
Test asan passed
Test checkpatch passed
Test FreeBSD passed
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Test docker-quick@centos7 passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/086c197db928384b8697edfa64755e2cb46c8100.1575685843.git.dirty@apple.com
Maintainers: Richard Henderson <rth@twiddle.net>, Eduardo Habkost <ehabkost@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
There is a newer version of this series
target/i386/machine.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH] Fix some comment spelling errors.
Posted by Cameron Esfahani via 4 years, 4 months ago
Signed-off-by: Cameron Esfahani <dirty@apple.com>
---
 target/i386/machine.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/target/i386/machine.c b/target/i386/machine.c
index 2699eed94e..f21823f179 100644
--- a/target/i386/machine.c
+++ b/target/i386/machine.c
@@ -261,7 +261,7 @@ static int cpu_pre_save(void *opaque)
      * intercepted anymore.
      *
      * Furthermore, when a L2 exception is intercepted by L1
-     * hypervisor, it's exception payload (CR2/DR6 on #PF/#DB)
+     * hypervisor, its exception payload (CR2/DR6 on #PF/#DB)
      * should not be set yet in the respective vCPU register.
      * Thus, in case an exception is pending, it is
      * important to save the exception payload seperately.
@@ -273,7 +273,7 @@ static int cpu_pre_save(void *opaque)
      *
      * In order to preserve better backwards-compatabile migration,
      * convert a pending exception to an injected exception in
-     * case it is not important to distingiush between them
+     * case it is not important to distinguish between them
      * as described above.
      */
     if (env->exception_pending && !(env->hflags & HF_GUEST_MASK)) {
@@ -415,7 +415,7 @@ static bool exception_info_needed(void *opaque)
 
     /*
      * It is important to save exception-info only in case
-     * we need to distingiush between a pending and injected
+     * we need to distinguish between a pending and injected
      * exception. Which is only required in case there is a
      * pending exception and vCPU is running L2.
      * For more info, refer to comment in cpu_pre_save().
-- 
2.24.0


Re: [PATCH] Fix some comment spelling errors.
Posted by Stefan Weil 4 years, 4 months ago
Am 07.12.19 um 03:33 schrieb Cameron Esfahani via:

> Signed-off-by: Cameron Esfahani <dirty@apple.com>
> ---
>  target/i386/machine.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/target/i386/machine.c b/target/i386/machine.c
> index 2699eed94e..f21823f179 100644
> --- a/target/i386/machine.c
> +++ b/target/i386/machine.c
> @@ -261,7 +261,7 @@ static int cpu_pre_save(void *opaque)
>       * intercepted anymore.
>       *
>       * Furthermore, when a L2 exception is intercepted by L1
> -     * hypervisor, it's exception payload (CR2/DR6 on #PF/#DB)
> +     * hypervisor, its exception payload (CR2/DR6 on #PF/#DB)
>       * should not be set yet in the respective vCPU register.
>       * Thus, in case an exception is pending, it is
>       * important to save the exception payload seperately.
> @@ -273,7 +273,7 @@ static int cpu_pre_save(void *opaque)
>       *
>       * In order to preserve better backwards-compatabile migration,


s/compatabile/compatible/

can perhaps be fixed, too, when merging this commit.


>       * convert a pending exception to an injected exception in
> -     * case it is not important to distingiush between them
> +     * case it is not important to distinguish between them
>       * as described above.
>       */
>      if (env->exception_pending && !(env->hflags & HF_GUEST_MASK)) {
> @@ -415,7 +415,7 @@ static bool exception_info_needed(void *opaque)
>  
>      /*
>       * It is important to save exception-info only in case
> -     * we need to distingiush between a pending and injected
> +     * we need to distinguish between a pending and injected
>       * exception. Which is only required in case there is a
>       * pending exception and vCPU is running L2.
>       * For more info, refer to comment in cpu_pre_save().


Reviewed-by: Stefan Weil <sw@weilnetz.de>


Re: [PATCH] Fix some comment spelling errors.
Posted by Paolo Bonzini 4 years, 4 months ago
On 07/12/19 08:44, Stefan Weil wrote:
> 
> s/compatabile/compatible/
> 
> can perhaps be fixed, too, when merging this commit.

Done, and queued.  Thanks!

Paolo