linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][next] KVM: x86: Remove space before \n newline
@ 2025-07-21 13:47 Colin Ian King
  2025-08-19 14:17 ` Sean Christopherson
  0 siblings, 1 reply; 2+ messages in thread
From: Colin Ian King @ 2025-07-21 13:47 UTC (permalink / raw)
  To: Sean Christopherson, Paolo Bonzini, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, Dave Hansen, x86, H . Peter Anvin, kvm
  Cc: kernel-janitors, linux-kernel

There is a extraneous space before a newline in a pr_debug_ratelimited
message. Remove it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 arch/x86/kvm/vmx/vmx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c
index aa157fe5b7b3..e5358277d059 100644
--- a/arch/x86/kvm/vmx/vmx.c
+++ b/arch/x86/kvm/vmx/vmx.c
@@ -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)
-- 
2.50.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH][next] KVM: x86: Remove space before \n newline
  2025-07-21 13:47 [PATCH][next] KVM: x86: Remove space before \n newline Colin Ian King
@ 2025-08-19 14:17 ` Sean Christopherson
  0 siblings, 0 replies; 2+ messages in thread
From: Sean Christopherson @ 2025-08-19 14:17 UTC (permalink / raw)
  To: Colin Ian King
  Cc: Paolo Bonzini, Thomas Gleixner, Ingo Molnar, Borislav Petkov,
	Dave Hansen, x86, H . Peter Anvin, kvm, kernel-janitors,
	linux-kernel

On Mon, Jul 21, 2025, Colin Ian King wrote:
> There is a extraneous space before a newline in a pr_debug_ratelimited
> message. Remove it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
>  arch/x86/kvm/vmx/vmx.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c
> index aa157fe5b7b3..e5358277d059 100644
> --- a/arch/x86/kvm/vmx/vmx.c
> +++ b/arch/x86/kvm/vmx/vmx.c
> @@ -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.

>  		vmcs_write32(GUEST_TR_AR_BYTES,
>  			     (guest_tr_ar & ~VMX_AR_TYPE_MASK)
> -- 
> 2.50.0
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-19 14:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-21 13:47 [PATCH][next] KVM: x86: Remove space before \n newline Colin Ian King
2025-08-19 14:17 ` Sean Christopherson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).