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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 28, 2024 at 12:12:34PM -0600, Logan Gunthorpe wrote:
> 
> 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, will fix.

> 
> Thanks,
> 
> Logan




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux