diff mbox series

KVM: x86: A typo fix

Message ID 20210320190425.18743-1-unixbhaskar@gmail.com (mailing list archive)
State New, archived
Headers show
Series KVM: x86: A typo fix | expand

Commit Message

Bhaskar Chowdhury March 20, 2021, 7:04 p.m. UTC
s/resued/resumed/

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 arch/x86/include/asm/kvm_host.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.26.2

Comments

Randy Dunlap March 20, 2021, 7:12 p.m. UTC | #1
On Sun, 21 Mar 2021, Bhaskar Chowdhury wrote:

>
> s/resued/resumed/
>
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>


> ---
> arch/x86/include/asm/kvm_host.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
> index 9bc091ecaaeb..eae82551acb1 100644
> --- a/arch/x86/include/asm/kvm_host.h
> +++ b/arch/x86/include/asm/kvm_host.h
> @@ -1470,7 +1470,7 @@ extern u64 kvm_mce_cap_supported;
> /*
>  * EMULTYPE_NO_DECODE - Set when re-emulating an instruction (after completing
>  *			userspace I/O) to indicate that the emulation context
> - *			should be resued as is, i.e. skip initialization of
> + *			should be resumed as is, i.e. skip initialization of
>  *			emulation context, instruction fetch and decode.
>  *
>  * EMULTYPE_TRAP_UD - Set when emulating an intercepted #UD from hardware.
> --
> 2.26.2
>
>
Ingo Molnar March 21, 2021, 10:54 p.m. UTC | #2
* Randy Dunlap <rdunlap@bombadil.infradead.org> wrote:

> 
> 
> On Sun, 21 Mar 2021, Bhaskar Chowdhury wrote:
> 
> > 
> > s/resued/resumed/
> > 
> > Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
> 
> Acked-by: Randy Dunlap <rdunlap@infradead.org>
> 
> 
> > ---
> > arch/x86/include/asm/kvm_host.h | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
> > index 9bc091ecaaeb..eae82551acb1 100644
> > --- a/arch/x86/include/asm/kvm_host.h
> > +++ b/arch/x86/include/asm/kvm_host.h
> > @@ -1470,7 +1470,7 @@ extern u64 kvm_mce_cap_supported;
> > /*
> >  * EMULTYPE_NO_DECODE - Set when re-emulating an instruction (after completing
> >  *			userspace I/O) to indicate that the emulation context
> > - *			should be resued as is, i.e. skip initialization of
> > + *			should be resumed as is, i.e. skip initialization of
> >  *			emulation context, instruction fetch and decode.

This is the *wrong* fix, the correct word in this context is 'reused', 
not 'resumed' ...

See how I fixed most arch/x86/ typo fixes in tip:x86/cleanups:

  d9f6e12fb0b7: ("x86: Fix various typos in comments")
  163b099146b8: ("x86: Fix various typos in comments, take #2")

These single file typo fixes are a bad idea for another reason as 
well, as they create a lot of unnecessary churn.

Thanks,

	Ingo
Bhaskar Chowdhury March 22, 2021, 5:29 a.m. UTC | #3
On 23:54 Sun 21 Mar 2021, Ingo Molnar wrote:
>
>
>These single file typo fixes are a bad idea for another reason as
>well, as they create a lot of unnecessary churn.
>
Huh! I was expecting it from the moment I started doing it ...finally it arrives.

I am not sure about "so called workflowo of others" ..I am gonna do it in my
way as long as it providing good.

I think this is best way to do it.

~Bhaskar
diff mbox series

Patch

diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 9bc091ecaaeb..eae82551acb1 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -1470,7 +1470,7 @@  extern u64 kvm_mce_cap_supported;
 /*
  * EMULTYPE_NO_DECODE - Set when re-emulating an instruction (after completing
  *			userspace I/O) to indicate that the emulation context
- *			should be resued as is, i.e. skip initialization of
+ *			should be resumed as is, i.e. skip initialization of
  *			emulation context, instruction fetch and decode.
  *
  * EMULTYPE_TRAP_UD - Set when emulating an intercepted #UD from hardware.