mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 22:26:55 +00:00
dma-mapping: fix the kerneldoc for dma_map_sg_attrs
Add the missing description for the nents parameter, and fix a trivial
misalignment.
Fixes: fffe3cc8c2
("dma-mapping: allow map_sg() ops to return negative error codes")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
c1dec343d7
commit
a61cb6017d
1 changed files with 2 additions and 1 deletions
|
@ -206,7 +206,8 @@ static int __dma_map_sg_attrs(struct device *dev, struct scatterlist *sg,
|
|||
/**
|
||||
* dma_map_sg_attrs - Map the given buffer for DMA
|
||||
* @dev: The device for which to perform the DMA operation
|
||||
* @sg: The sg_table object describing the buffer
|
||||
* @sg: The sg_table object describing the buffer
|
||||
* @nents: Number of entries to map
|
||||
* @dir: DMA direction
|
||||
* @attrs: Optional DMA attributes for the map operation
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue