* [PATCH] KVM: x86:Fix warnings in irq.c
[not found] <tencent_C058FF13993C887FC16D1E16D72597914306@qq.com>
@ 2023-07-12 2:57 ` shijie001
0 siblings, 0 replies; only message in thread
From: shijie001 @ 2023-07-12 2:57 UTC (permalink / raw)
To: tglx, mingo, bp, dave.hansen; +Cc: kvm, linux-kernel, hpa
The following checkpatch warning is removed:
WARNING: Missing a blank line after declarations
Signed-off-by: Jie Shi <shijie001@208suo.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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-12 2:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <tencent_C058FF13993C887FC16D1E16D72597914306@qq.com>
2023-07-12 2:57 ` [PATCH] KVM: x86:Fix warnings in irq.c shijie001
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®