From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Thu, 21 May 2015 19:37:40 +0000 Subject: Re: [PATCH] KVM: PPC: check for lookup_linux_ptep() returning NULL Message-Id: <1432237060.27761.220.camel@freescale.com> List-Id: References: <555DDD23.1010903@freescale.com> In-Reply-To: <555DDD23.1010903@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Laurentiu Tudor Cc: kvm-ppc@vger.kernel.org, Alexander Graf , Laurentiu Tudor , Mihai Caraman , 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