[PATCH net-next] page_pool: Fix page_pool_alloc_va() reference in kernel-doc

Karl Mehltretter posted 1 patch 1 week, 6 days ago
include/net/page_pool/helpers.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH net-next] page_pool: Fix page_pool_alloc_va() reference in kernel-doc
Posted by Karl Mehltretter 1 week, 6 days ago
The kernel-doc comment of page_pool_free_va() refers to
page_pool_allo_va, which does not exist. The name is page_pool_alloc_va.
Say page_pool_alloc_va.

The wrong name came in with commit 8ab32fa1c794 ("page_pool: update
document about fragment API").

Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
---
 include/net/page_pool/helpers.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/net/page_pool/helpers.h b/include/net/page_pool/helpers.h
index e2730dd273b2843b790811d1a6a5f5acd68d3ad3..87a4e13886e15edd4942a933edee63f26bd15a80 100644
--- a/include/net/page_pool/helpers.h
+++ b/include/net/page_pool/helpers.h
@@ -417,7 +417,7 @@ static inline void page_pool_recycle_direct_netmem(struct page_pool *pool,
  * @va: va to be freed
  * @allow_direct: freed by the consumer, allow lockless caching
  *
- * Free a va allocated from page_pool_allo_va().
+ * Free a va allocated from page_pool_alloc_va().
  */
 static inline void page_pool_free_va(struct page_pool *pool, void *va,
 				     bool allow_direct)
-- 
2.39.5 (Apple Git-154)