Re: [PATCH 09/18] docs: core-api: document the IOVA-based API

From: Logan Gunthorpe
Date: Mon Oct 28 2024 - 14:13:46 EST



I noticed a couple of typos below:

On 2024-10-27 08:21, Leon Romanovsky wrote:

> +Part Ie - IOVA-based DMA mappings
> +---------------------------------
> +
> +These APIs allow a very efficient mapping when using an IOMMU. They are an
> +optional path that requires extra code and are only recommended for drivers
> +where DMA mapping performance, or the space usage for storing the dma addresses

The second 'dma' should be capitalized as it is in other uses.


> + int dma_iova_sync(struct device *dev, struct dma_iova_state *state,
> + size_t offset, size_t size, int ret);
> +
> +Must called to sync the IOMMU page tables for IOVA-range mapped by one or
> +more calls to ``dma_iova_link()``.

"Must be called" instead of "Must called"

Thanks,

Logan