diff mbox series

mm: percpu: fix typo to pcpu_alloc_noprof() description

Message ID 20240924152412.118487-1-aha310510@gmail.com (mailing list archive)
State New
Headers show
Series mm: percpu: fix typo to pcpu_alloc_noprof() description | expand

Commit Message

Jeongjun Park Sept. 24, 2024, 3:24 p.m. UTC
In the previous commit, the function name was changed from pcpu_alloc to 
pcpu_alloc_noprof , but the function description was not changed accordingly.
The function name should be changed to pcpu_alloc_noprof in the description
as well.

Signed-off-by: Jeongjun Park <aha310510@gmail.com>
---
 mm/percpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
diff mbox series

Patch

diff --git a/mm/percpu.c b/mm/percpu.c
index 20d91af8c033..7081b0ed59d6 100644
--- a/mm/percpu.c
+++ b/mm/percpu.c
@@ -1726,7 +1726,7 @@  static void pcpu_alloc_tag_free_hook(struct pcpu_chunk *chunk, int off, size_t s
 #endif
 
 /**
- * pcpu_alloc - the percpu allocator
+ * pcpu_alloc_noprof - the percpu allocator
  * @size: size of area to allocate in bytes
  * @align: alignment of area (max PAGE_SIZE)
  * @reserved: allocate from the reserved chunk if available