On Thu, Sep 11, 2014 at 12:28:03PM +0200, Maurizio Lombardi wrote:
under low memory conditions, alloc_pte() may return a NULL pointer.
iommu_map_page() does not check it and will panic the system.
Signed-off-by: Maurizio Lombardi mlomb...@redhat.com
---
drivers/iommu/amd_iommu.c | 3 +++
under low memory conditions, alloc_pte() may return a NULL pointer.
iommu_map_page() does not check it and will panic the system.
Signed-off-by: Maurizio Lombardi mlomb...@redhat.com
---
drivers/iommu/amd_iommu.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/iommu/amd_iommu.c