]> www.infradead.org Git - users/hch/block.git/commit
iommu/dma: fix iommu_dma_alloc_iova error handling
authorChristoph Hellwig <hch@lst.de>
Sat, 5 Oct 2024 09:38:04 +0000 (11:38 +0200)
committerChristoph Hellwig <hch@lst.de>
Sat, 5 Oct 2024 16:14:56 +0000 (18:14 +0200)
commitcd97d3f28515eb813c507ad305775cab6bd6e979
treeaafdb49bf7894a0b02517ed10eeec553c29ec80c
parent67340a7c52cd780f0d43b5def10f63b719325db6
iommu/dma: fix iommu_dma_alloc_iova error handling

__iommu_dma_alloc_iova return 0 on failure.

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