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

Christoph Hellwig hch at lst.de
Thu Jul 15 23:31:27 PDT 2021


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.



More information about the linux-arm-kernel mailing list