Re: [PATCH] iommu/amd: print reason for iommu_map_page failure in map_sg

From: Joerg Roedel
Date: Wed Jan 30 2019 - 11:26:58 EST


On Mon, Jan 28, 2019 at 05:59:37PM -0700, Jerry Snitselaar wrote:
> Since there are multiple possible failures in iommu_map_page
> it would be useful to know which case is being hit when the
> error message is printed in map_sg. While here, fix up checkpatch
> complaint about using function name in a string instead of
> __func__.
>
> Cc: Joerg Roedel <joro@xxxxxxxxxx>
> Signed-off-by: Jerry Snitselaar <jsnitsel@xxxxxxxxxx>

Applied, thanks.