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

Christoph Hellwig
2021-07-16T06:31:27Z

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.