[PATCH] scatterlist: fix incorrect func name in kernel-doc

Randy Dunlap posted 1 patch 3 weeks, 5 days ago
include/linux/scatterlist.h |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] scatterlist: fix incorrect func name in kernel-doc
Posted by Randy Dunlap 3 weeks, 5 days ago
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

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>
Cc: Andrew Morton <akpm@linux-foundation.org>
---

 include/linux/scatterlist.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20241125.orig/include/linux/scatterlist.h
+++ linux-next-20241125/include/linux/scatterlist.h
@@ -313,7 +313,7 @@ static inline void sg_dma_mark_bus_addre
 }
 
 /**
- * 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: