From: Scott Wood Subject: Re: [PATCH] KVM: PPC: check for lookup_linux_ptep() returning NULL Date: Thu, 21 May 2015 14:37:40 -0500 Message-ID: <1432237060.27761.220.camel@freescale.com> References: <555DDD23.1010903@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: , Alexander Graf , Laurentiu Tudor , Mihai Caraman , To: Laurentiu Tudor Return-path: In-Reply-To: <555DDD23.1010903@freescale.com> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org 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 -Scott