mm/memremap.c: fix outdated comment in devm_memremap_pages
authorLi Zhijian <lizhijian@fujitsu.com>
Tue, 7 Feb 2023 06:27:00 +0000 (06:27 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 10 Feb 2023 00:51:46 +0000 (16:51 -0800)
commit a4574f63edc6 ("mm/memremap_pages: convert to 'struct range'")
converted res to range, update the comment correspondingly.

Link: https://lkml.kernel.org/r/1675751220-2-1-git-send-email-lizhijian@fujitsu.com
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memremap.c

index 2f88f43d4a01793d5cbae343ca3c85bd035d5019..bee85560a243403006cddaa5759dc5156f746de8 100644 (file)
@@ -385,7 +385,7 @@ EXPORT_SYMBOL_GPL(memremap_pages);
  * @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