scatterlist: fix incorrect func name in kernel-doc
authorRandy Dunlap <rdunlap@infradead.org>
Sat, 30 Nov 2024 02:24:06 +0000 (18:24 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 6 Dec 2024 03:54:47 +0000 (19:54 -0800)
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: 42399301203e ("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>
include/linux/scatterlist.h

index c5e2239b550ef50dc1aa8b8dabb5ef63958c0c92..d836e7440ee863539e0422b789986d025962858c 100644 (file)
@@ -313,7 +313,7 @@ static inline void sg_dma_mark_bus_address(struct scatterlist *sg)
 }
 
 /**
- * sg_unmark_bus_address - Unmark the scatterlist entry as a bus address
+ * sg_dma_unmark_bus_address - Unmark the scatterlist entry as a bus address
  * @sg:                 SG entry
  *
  * Description: