dma-buf: Couple of documentation typo fixes

Fix a couple of typos: "as" -> "has" and "int" -> "in".

Signed-off-by: Gal Pressman <galpress@amazon.com>
Link: https://lore.kernel.org/r/20200420074115.23931-1-galpress@amazon.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
Gal Pressman 2020-04-20 10:41:15 +03:00 committed by Jonathan Corbet
parent 5d8e5aee0e
commit c7e1cc318d

View File

@ -11,7 +11,7 @@ course not limited to GPU use cases.
The three main components of this are: (1) dma-buf, representing a The three main components of this are: (1) dma-buf, representing a
sg_table and exposed to userspace as a file descriptor to allow passing sg_table and exposed to userspace as a file descriptor to allow passing
between devices, (2) fence, which provides a mechanism to signal when between devices, (2) fence, which provides a mechanism to signal when
one device as finished access, and (3) reservation, which manages the one device has finished access, and (3) reservation, which manages the
shared or exclusive fence(s) associated with the buffer. shared or exclusive fence(s) associated with the buffer.
Shared DMA Buffers Shared DMA Buffers
@ -31,7 +31,7 @@ The exporter
- implements and manages operations in :c:type:`struct dma_buf_ops - implements and manages operations in :c:type:`struct dma_buf_ops
<dma_buf_ops>` for the buffer, <dma_buf_ops>` for the buffer,
- allows other users to share the buffer by using dma_buf sharing APIs, - allows other users to share the buffer by using dma_buf sharing APIs,
- manages the details of buffer allocation, wrapped int a :c:type:`struct - manages the details of buffer allocation, wrapped in a :c:type:`struct
dma_buf <dma_buf>`, dma_buf <dma_buf>`,
- decides about the actual backing storage where this allocation happens, - decides about the actual backing storage where this allocation happens,
- and takes care of any migration of scatterlist - for all (shared) users of - and takes care of any migration of scatterlist - for all (shared) users of