> -----Original Message----- > From: Radim Krčmář [mailto:rkrcmar@xxxxxxxxxx] > Sent: Friday, February 12, 2016 10:00 PM > To: linux@xxxxxxxxxxxxxxx > Cc: kvm@xxxxxxxxxxxxxxx; Dan Carpenter <dan.carpenter@xxxxxxxxxx>; Wu, > Feng <feng.wu@xxxxxxxxx>; Paolo Bonzini <pbonzini@xxxxxxxxxx> > Subject: [PATCH] KVM: x86: fix *NULL on invalid low-prio irq > > Smatch noticed a NULL dereference in kvm_intr_is_single_vcpu_fast that > happens if VM already warned about invalid lowest-priority interrupt. > > Create a function for common code while fixing it. Thanks for the fix, Radim! I just saw the report by Dan and cooked a patch for it. Your patch looks good :) Thanks, Feng ��.n��������+%������w��{.n�����o�^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�