Commit a61cb601 authored by Christoph Hellwig's avatar Christoph Hellwig

dma-mapping: fix the kerneldoc for dma_map_sg_attrs

Add the missing description for the nents parameter, and fix a trivial
misalignment.

Fixes: fffe3cc8 ("dma-mapping: allow map_sg() ops to return negative error codes")
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent c1dec343
...@@ -206,7 +206,8 @@ static int __dma_map_sg_attrs(struct device *dev, struct scatterlist *sg, ...@@ -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 * dma_map_sg_attrs - Map the given buffer for DMA
* @dev: The device for which to perform the DMA operation * @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 * @dir: DMA direction
* @attrs: Optional DMA attributes for the map operation * @attrs: Optional DMA attributes for the map operation
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment