]> git.baikalelectronics.ru Git - kernel.git/commit
dma-mapping: fix the kerneldoc for dma_map_sg_attrs
authorChristoph Hellwig <hch@lst.de>
Mon, 6 Sep 2021 12:40:00 +0000 (14:40 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 6 Sep 2021 12:40:47 +0000 (14:40 +0200)
commitb3bea5b9c37b395106d939cdca966e836e524b71
treeff1a374f2134976f7c8a0f1cab1dbe0db248160f
parent6712c9e4215019177360f12c87492fbc483a432a
dma-mapping: fix the kerneldoc for dma_map_sg_attrs

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

Fixes: 26f390ac8440 ("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>
kernel/dma/mapping.c