linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm/memremap: fix wrong function name above memremap_pages()
@ 2022-06-07 14:36 Miaohe Lin
  0 siblings, 0 replies; only message in thread
From: Miaohe Lin @ 2022-06-07 14:36 UTC (permalink / raw)
  To: akpm; +Cc: linux-mm, linux-kernel, linmiaohe

Fix the wrong function name dev_memremap_pages above memremap_pages() to
avoid confusion. Minor readability improvement.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
---
 mm/memremap.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mm/memremap.c b/mm/memremap.c
index 0f8f08f8a991..8a432cdfd9d4 100644
--- a/mm/memremap.c
+++ b/mm/memremap.c
@@ -279,8 +279,8 @@ static int pagemap_range(struct dev_pagemap *pgmap, struct mhp_params *params,
 
 
 /*
- * Not device managed version of dev_memremap_pages, undone by
- * memunmap_pages().  Please use dev_memremap_pages if you have a struct
+ * Not device managed version of devm_memremap_pages, undone by
+ * memunmap_pages().  Please use devm_memremap_pages if you have a struct
  * device available.
  */
 void *memremap_pages(struct dev_pagemap *pgmap, int nid)
-- 
2.23.0



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

only message in thread, other threads:[~2022-06-07 14:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-07 14:36 [PATCH] mm/memremap: fix wrong function name above memremap_pages() Miaohe Lin

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