[<prev] [next>] [day] [month] [year] [list]
Message-ID: <d7a492c39633d9373cf29e7ac02a30b1@208suo.com>
Date: Wed, 12 Jul 2023 10:57:24 +0800
From: shijie001@...suo.com
To: tglx@...utronix.de, mingo@...hat.com, bp@...en8.de,
dave.hansen@...ux.intel.com
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org, hpa@...or.com
Subject: [PATCH] KVM: x86:Fix warnings in irq.c
The following checkpatch warning is removed:
WARNING: Missing a blank line after declarations
Signed-off-by: Jie Shi <shijie001@...suo.com>
---
arch/x86/kvm/irq.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/kvm/irq.c b/arch/x86/kvm/irq.c
index b2c397dd2bc6..e03757eee8c9 100644
--- a/arch/x86/kvm/irq.c
+++ b/arch/x86/kvm/irq.c
@@ -136,6 +136,7 @@ static int kvm_cpu_get_extint(struct kvm_vcpu *v)
int kvm_cpu_get_interrupt(struct kvm_vcpu *v)
{
int vector = kvm_cpu_get_extint(v);
+
if (vector != -1)
return vector; /* PIC */
Powered by blists - more mailing lists