Re: [PATCH] KVM: x86: A typo fix

From: Ingo Molnar
Date: Sun Mar 21 2021 - 18:56:01 EST



* Randy Dunlap <rdunlap@xxxxxxxxxxxxxxxxxxxxxx> wrote:

>
>
> On Sun, 21 Mar 2021, Bhaskar Chowdhury wrote:
>
> >
> > s/resued/resumed/
> >
> > Signed-off-by: Bhaskar Chowdhury <unixbhaskar@xxxxxxxxx>
>
> Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>
>
> > ---
> > 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