> -----Original Message----- > From: Radim Krcmár [mailto:rkrcmar@xxxxxxxxxx] > Sent: Friday, February 12, 2016 10:28 PM > To: Wu, Feng <feng.wu@xxxxxxxxx> > Cc: linux@xxxxxxxxxxxxxxx; kvm@xxxxxxxxxxxxxxx; Dan Carpenter > <dan.carpenter@xxxxxxxxxx>; Paolo Bonzini <pbonzini@xxxxxxxxxx> > Subject: Re: [PATCH] KVM: x86: fix *NULL on invalid low-prio irq > > 2016-02-12 14:10+0000, Wu, Feng: > >> From: Radim Krčmář [mailto:rkrcmar@xxxxxxxxxx] > >> 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. > > (Sorry for the duplication of effort, I will wait longer next time.) No problem, that's fine. I didn't notice the report in time due to holiday. But it is good to having you help to fix it! :) Thanks, Feng > > > Your patch looks good :) > > Thanks. ��.n��������+%������w��{.n�����o�^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�