Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next] page_pool: Fix page_pool_alloc_va() reference in kernel-doc
@ 2026-09-12  6:00 Karl Mehltretter
  0 siblings, 0 replies; only message in thread
From: Karl Mehltretter @ 2026-09-12  6:00 UTC (permalink / raw)
  To: Jesper Dangaard Brouer, Ilias Apalodimas, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: Karl Mehltretter, Yunsheng Lin, Simon Horman, netdev,
	linux-kernel

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)


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-12  6:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-12  6:00 [PATCH net-next] page_pool: Fix page_pool_alloc_va() reference in kernel-doc Karl Mehltretter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox