Skip to content

Commit d89c8ec

Browse files
rddunlapakpm00
authored andcommitted
scatterlist: fix incorrect func name in kernel-doc
Fix a kernel-doc warning by making the kernel-doc function description match the function name: include/linux/scatterlist.h:323: warning: expecting prototype for sg_unmark_bus_address(). Prototype was for sg_dma_unmark_bus_address() instead Link: https://lkml.kernel.org/r/20241130022406.537973-1-rdunlap@infradead.org Fixes: 4239930 ("lib/scatterlist: add flag for indicating P2PDMA segments in an SGL") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Logan Gunthorpe <logang@deltatee.com> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent cbb70e4 commit d89c8ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/scatterlist.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ static inline void sg_dma_mark_bus_address(struct scatterlist *sg)
313313
}
314314

315315
/**
316-
* sg_unmark_bus_address - Unmark the scatterlist entry as a bus address
316+
* sg_dma_unmark_bus_address - Unmark the scatterlist entry as a bus address
317317
* @sg: SG entry
318318
*
319319
* Description:

0 commit comments

Comments
 (0)