Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
amd_iommu: do not dereference a NULL pointer address.
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 <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
- Loading branch information