Re: [PATCH] KVM: x86: Fix typos and whitespace errors

Amit Shah
2009-01-13T10:52:57Z

On Tue, Jan 13, 2009 at 10:47:52AM +0000, Amit Shah wrote:
> Some typos, comments, whitespace errors corrected in the cpuid code
>
> Signed-off-by: Amit Shah <amit.shah@redhat.com>
> ---
> arch/x86/include/asm/kvm.h | 6 ++--
> arch/x86/kvm/x86.c | 45 +++++++++++++++++++++----------------------
> 2 files changed, 25 insertions(+), 26 deletions(-)
>
> diff --git a/arch/x86/include/asm/kvm.h b/arch/x86/include/asm/kvm.h
> index a031102..58e28ab 100644
> --- a/arch/x86/include/asm/kvm.h
> +++ b/arch/x86/include/asm/kvm.h
> @@ -177,9 +177,9 @@ struct kvm_cpuid_entry2 {
> __u32 padding[3];
> };
>
> -#define KVM_CPUID_FLAG_SIGNIFCANT_INDEX 1
> -#define KVM_CPUID_FLAG_STATEFUL_FUNC 2
> -#define KVM_CPUID_FLAG_STATE_READ_NEXT 4
> +#define KVM_CPUID_FLAG_SIGNIFICANT_INDEX 1

Avi, this is assuming we can push this fix to the stable kernel series.
Can that be done or should we live with the typo? (Or adding a
#define KVM_CPUID_FLAG_SIGNIFICANT_INDEX KVM_CPUID_FLAG_SIGNIFCANT_INDEX
?)