linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm/memremap.c: Fix outdated comment in devm_memremap_pages
@ 2023-02-07  6:27 Li Zhijian
  0 siblings, 0 replies; only message in thread
From: Li Zhijian @ 2023-02-07  6:27 UTC (permalink / raw)
  To: akpm, dan.j.williams; +Cc: linux-mm, linux-kernel, Li Zhijian

commit a4574f63edc6 ("mm/memremap_pages: convert to 'struct range'")
converted res to range, update the comment correspondingly.

Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
---
 mm/memremap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/memremap.c b/mm/memremap.c
index 08cbf54fe037..38eca62e176c 100644
--- a/mm/memremap.c
+++ b/mm/memremap.c
@@ -385,7 +385,7 @@ void *memremap_pages(struct dev_pagemap *pgmap, int nid)
  * @pgmap: pointer to a struct dev_pagemap
  *
  * Notes:
- * 1/ At a minimum the res and type members of @pgmap must be initialized
+ * 1/ At a minimum the range and type members of @pgmap must be initialized
  *    by the caller before passing it to this function
  *
  * 2/ The altmap field may optionally be initialized, in which case
-- 
1.8.3.1



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

only message in thread, other threads:[~2023-02-07  6:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-07  6:27 [PATCH] mm/memremap.c: Fix outdated comment in devm_memremap_pages Li Zhijian

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