iommu/amd: implement ->mapping_error
authorChristoph Hellwig <hch@lst.de>
Sun, 21 May 2017 11:26:45 +0000 (13:26 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 28 Jun 2017 13:54:30 +0000 (06:54 -0700)
commita869572c3196440e96d62d61320e4ae2f530b02e
tree3a41ad19aa77d7b3c5ef9e6bcb77b87fc9d04481
parente830467143ad0b4efeab3e6c9e1d8033a51a4bf9
iommu/amd: implement ->mapping_error

DMA_ERROR_CODE is going to go away, so don't rely on it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/iommu/amd_iommu.c