]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iommu/amd/pgtbl_v2: Improve error handling
authorVasant Hegde <vasant.hegde@amd.com>
Thu, 27 Feb 2025 16:23:16 +0000 (16:23 +0000)
committerJoerg Roedel <jroedel@suse.de>
Mon, 10 Mar 2025 08:27:09 +0000 (09:27 +0100)
commit36a1cfd497435ba5e37572fe9463bb62a7b1b984
treecb7f529947782f01d0d5205ca116dc17968e4112
parente481f8a5db2e9d3a2fbb4872cc08ad11fbc1af68
iommu/amd/pgtbl_v2: Improve error handling

Return -ENOMEM if v2_alloc_pte() fails to allocate memory.

Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20250227162320.5805-4-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd/io_pgtable_v2.c