* [PATCH] mm: Rename folioq_count to folioq_full in documentation to match function
@ 2024-10-02 10:30 Tamir Hadash
0 siblings, 0 replies; only message in thread
From: Tamir Hadash @ 2024-10-02 10:30 UTC (permalink / raw)
To: dhowells, brauner; +Cc: linux-kernel, udbe3333
This patch updates the documentation to correctly reflect the function names in the memory management code.
Previously, both the folioq_count and folioq_full functions had documentation incorrectly referring to folioq_count. This caused confusion and warnings when building the Linux kernel's HTML documentation.
The documentation for folioq_full has been renamed to match the correct function name, resolving these issues and improving consistency between the function definitions and their respective documentation.
Signed-off-by: Tamir Hadash <udbe3333@gmail.com>
---
include/linux/folio_queue.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/folio_queue.h b/include/linux/folio_queue.h
index af871405ae55..3abe614ef5f0 100644
--- a/include/linux/folio_queue.h
+++ b/include/linux/folio_queue.h
@@ -81,7 +81,7 @@ static inline unsigned int folioq_count(struct folio_queue *folioq)
}
/**
- * folioq_count: Query if a folio queue segment is full
+ * folioq_full: Query if a folio queue segment is full
* @folioq: The segment to query
*
* Query if a folio queue segment is fully occupied. Note that this does not
--
2.46.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-10-02 10:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-02 10:30 [PATCH] mm: Rename folioq_count to folioq_full in documentation to match function Tamir Hadash
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox