Re: [PATCH v1 04/16] dma-iommu: Return error code from iommu_dma_map_sg()

From: Christoph Hellwig
Date: Fri Jul 16 2021 - 02:31:33 EST


Careful here. What do all these errors from the low-level code mean
here? I think we need to clearly standardize on what we actually
return from ->map_sg and possibly document what the callers expect and
can do, and enforce that only those error are reported.