KVM: x86: Remove space before \n newline
Subsystems (4)
PATCH 1/1 KVM: x86: Remove space before \n newline
There is a extraneous space before a newline in a pr_debug_ratelimited message. Remove it.
Signed-off-by Colin Ian King <[email protected]>
--- arch/x86/kvm/vmx/vmx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kvm/vmx/vmx.c +1 -1
@@ -3142,7 +3142,7 @@ static void enter_lmode(struct kvm_vcpu *vcpu) guest_tr_ar =vmcs_read32 (GUEST_TR_AR_BYTES );if ((guest_tr_ar &VMX_AR_TYPE_MASK ) !=VMX_AR_TYPE_BUSY_64_TSS ) { -pr_debug_ratelimited ("%s: tss fixup for long mode. \n" , +pr_debug_ratelimited ("%s: tss fixup for long mode.\n" , __func__);vmcs_write32 (GUEST_TR_AR_BYTES , (guest_tr_ar & ~VMX_AR_TYPE_MASK)
Signature · 1 line
2.50.0
Sean Christopherson
maintainerQuoted 13 lines · Colin Ian King
There is a extraneous space before a newline in a
pr_debug_ratelimitedmessage. Remove it.Signed-off-by Colin Ian King <[email protected]>--- arch/x86/kvm/vmx/vmx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/x86/kvm/vmx/vmx.c +0
-0
arch/x86/kvm/vmx/vmx.c static void enter_lmode(struct kvm_vcpu *vcpu) · line 3146
Quoted 6 lines
arch/x86/kvm/vmx/vmx.c +1
-1@@ -3142,7 +3142,7 @@ static void enter_lmode(struct kvm_vcpu *vcpu) guest_tr_ar =vmcs_read32 (GUEST_TR_AR_BYTES );if ((guest_tr_ar &VMX_AR_TYPE_MASK ) !=VMX_AR_TYPE_BUSY_64_TSS ) { -pr_debug_ratelimited ("%s: tss fixup for long mode. \n" , +pr_debug_ratelimited ("%s: tss fixup for long mode.\n" , __func__);
I'm inclined to simply delete the pr_debug. I can't imagine it's at all useful for anyone/anything.
Quoted 5 lines
arch/x86/kvm/vmx/vmx.c +0
-0vmcs_write32 (GUEST_TR_AR_BYTES , (guest_tr_ar & ~VMX_AR_TYPE_MASK)Signature · 1 line
2.50.0