From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Subject: Re: [PATCH] KVM: PPC: check for lookup_linux_ptep() returning NULL Date: Mon, 25 May 2015 23:01:43 +0200 Message-ID: <55638DB7.2010706@suse.de> References: <555DDD23.1010903@freescale.com> <1432237060.27761.220.camel@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: kvm-ppc@vger.kernel.org, Laurentiu Tudor , Mihai Caraman , kvm@vger.kernel.org To: Scott Wood , Laurentiu Tudor Return-path: In-Reply-To: <1432237060.27761.220.camel@freescale.com> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 21.05.15 21:37, Scott Wood wrote: > On Thu, 2015-05-21 at 16:26 +0300, Laurentiu Tudor wrote: >> If passed a larger page size lookup_linux_ptep() >> may fail, so add a check for that and bail out >> if that's the case. >> This was found with the help of a static >> code analysis tool. >> >> Signed-off-by: Mihai Caraman >> Signed-off-by: Laurentiu Tudor >> Cc: Scott Wood >> --- >> based on https://github.com/agraf/linux-2.6.git kvm-ppc-next >> >> arch/powerpc/kvm/e500_mmu_host.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > Reviewed-by: Scott Wood Thanks, applied to kvm-ppc-queue. Alex