diff mbox series

kvm: vmx: keep constant definition format consistent

Message ID CAPm50aKnctFL_7fZ-eqrz-QGnjW2+DTyDDrhxi7UZVO3HjD8UA@mail.gmail.com (mailing list archive)
State New, archived
Headers show
Series kvm: vmx: keep constant definition format consistent | expand

Commit Message

Hao Peng Sept. 23, 2022, 3:03 p.m. UTC
From: Peng Hao <flyingpeng@tencent.com>
Keep all constants using lowercase "x".

Signed-off-by: Peng Hao <flyingpeng@tencent.com>
---
 arch/x86/include/asm/vmx.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.27.0

Comments

Paolo Bonzini Sept. 27, 2022, 12:15 p.m. UTC | #1
On 9/23/22 17:03, Hao Peng wrote:
> From: Peng Hao <flyingpeng@tencent.com>
> Keep all constants using lowercase "x".
> 
> Signed-off-by: Peng Hao <flyingpeng@tencent.com>
> ---
>   arch/x86/include/asm/vmx.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/x86/include/asm/vmx.h b/arch/x86/include/asm/vmx.h
> index 0ffaa3156a4e..d1791b612170 100644
> --- a/arch/x86/include/asm/vmx.h
> +++ b/arch/x86/include/asm/vmx.h
> @@ -296,7 +296,7 @@ enum vmcs_field {
>          GUEST_LDTR_AR_BYTES             = 0x00004820,
>          GUEST_TR_AR_BYTES               = 0x00004822,
>          GUEST_INTERRUPTIBILITY_INFO     = 0x00004824,
> -       GUEST_ACTIVITY_STATE            = 0X00004826,
> +       GUEST_ACTIVITY_STATE            = 0x00004826,
>          GUEST_SYSENTER_CS               = 0x0000482A,
>          VMX_PREEMPTION_TIMER_VALUE      = 0x0000482E,
>          HOST_IA32_SYSENTER_CS           = 0x00004c00,
> --
> 2.27.0

Queued, thanks.

Paolo
diff mbox series

Patch

diff --git a/arch/x86/include/asm/vmx.h b/arch/x86/include/asm/vmx.h
index 0ffaa3156a4e..d1791b612170 100644
--- a/arch/x86/include/asm/vmx.h
+++ b/arch/x86/include/asm/vmx.h
@@ -296,7 +296,7 @@  enum vmcs_field {
        GUEST_LDTR_AR_BYTES             = 0x00004820,
        GUEST_TR_AR_BYTES               = 0x00004822,
        GUEST_INTERRUPTIBILITY_INFO     = 0x00004824,
-       GUEST_ACTIVITY_STATE            = 0X00004826,
+       GUEST_ACTIVITY_STATE            = 0x00004826,
        GUEST_SYSENTER_CS               = 0x0000482A,
        VMX_PREEMPTION_TIMER_VALUE      = 0x0000482E,
        HOST_IA32_SYSENTER_CS           = 0x00004c00,