Skip to content

Commit 8419702

Browse files
lsgunthChristoph Hellwig
authored andcommitted
dma-mapping: reformat comment to suppress htmldoc warning
make html doc reports a cryptic warning with the commit named below: kernel/dma/mapping.c:258: WARNING: Option list ends without a blank line; unexpected unindent. Seems the parser is a bit fussy about the tabbing and having a single space tab causes the warning. To suppress the warning add another tab to the list and reindent everything. Fixes: 7c2645a ("dma-mapping: allow EREMOTEIO return code for P2PDMA transfers") Signed-off-by: Logan Gunthorpe <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
1 parent 0d06132 commit 8419702

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

kernel/dma/mapping.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -249,15 +249,15 @@ EXPORT_SYMBOL(dma_map_sg_attrs);
249249
* Returns 0 on success or a negative error code on error. The following
250250
* error codes are supported with the given meaning:
251251
*
252-
* -EINVAL An invalid argument, unaligned access or other error
253-
* in usage. Will not succeed if retried.
254-
* -ENOMEM Insufficient resources (like memory or IOVA space) to
255-
* complete the mapping. Should succeed if retried later.
256-
* -EIO Legacy error code with an unknown meaning. eg. this is
257-
* returned if a lower level call returned DMA_MAPPING_ERROR.
258-
* -EREMOTEIO The DMA device cannot access P2PDMA memory specified in
259-
* the sg_table. This will not succeed if retried.
260-
*
252+
* -EINVAL An invalid argument, unaligned access or other error
253+
* in usage. Will not succeed if retried.
254+
* -ENOMEM Insufficient resources (like memory or IOVA space) to
255+
* complete the mapping. Should succeed if retried later.
256+
* -EIO Legacy error code with an unknown meaning. eg. this is
257+
* returned if a lower level call returned
258+
* DMA_MAPPING_ERROR.
259+
* -EREMOTEIO The DMA device cannot access P2PDMA memory specified
260+
* in the sg_table. This will not succeed if retried.
261261
*/
262262
int dma_map_sgtable(struct device *dev, struct sg_table *sgt,
263263
enum dma_data_direction dir, unsigned long attrs)

0 commit comments

Comments
 (0)