From mboxrd@z Thu Jan 1 00:00:00 1970 From: Radim =?utf-8?Q?Krcm=C3=A1r?= Subject: Re: [PATCH] KVM: x86: fix *NULL on invalid low-prio irq Date: Fri, 12 Feb 2016 15:27:52 +0100 Message-ID: <20160212142752.GA32014@potion.brq.redhat.com> References: <20160211045041.GA6196@mwanda> <1455285615-6631-1-git-send-email-rkrcmar@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: "linux@vger.kernel.org" , "kvm@vger.kernel.org" , Dan Carpenter , Paolo Bonzini To: "Wu, Feng" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:37950 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751935AbcBLO14 (ORCPT ); Fri, 12 Feb 2016 09:27:56 -0500 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 2016-02-12 14:10+0000, Wu, Feng: >> From: Radim Kr=C4=8Dm=C3=A1=C5=99 [mailto:rkrcmar@redhat.com] >> Smatch noticed a NULL dereference in kvm_intr_is_single_vcpu_fast th= at >> happens if VM already warned about invalid lowest-priority interrupt= =2E >>=20 >> Create a function for common code while fixing it. >=20 > 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.) > Your patch looks good :) Thanks.