lkml.org 
[lkml]   [2023]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    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@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 */
    \
     
     \ /
      Last update: 2023-07-12 04:57    [W:7.316 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site