Re: [PATCH] KVM: PPC: check for lookup_linux_ptep() returning NULL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <mihai.caraman@xxxxxxxxxxxxx>
> Signed-off-by: Laurentiu Tudor <Laurentiu.Tudor@xxxxxxxxxxxxx>
> Cc: Scott Wood <scottwood@xxxxxxxxxxxxx>
> ---
> 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 <scottwood@xxxxxxxxxxxxx>

-Scott


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux