Commit 223ec6ab authored by Li Zhijian's avatar Li Zhijian Committed by Andrew Morton

mm/memremap.c: fix outdated comment in devm_memremap_pages

commit a4574f63 ("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.comSigned-off-by: default avatarLi Zhijian <lizhijian@fujitsu.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent e56397e8
...@@ -385,7 +385,7 @@ EXPORT_SYMBOL_GPL(memremap_pages); ...@@ -385,7 +385,7 @@ EXPORT_SYMBOL_GPL(memremap_pages);
* @pgmap: pointer to a struct dev_pagemap * @pgmap: pointer to a struct dev_pagemap
* *
* Notes: * 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 * by the caller before passing it to this function
* *
* 2/ The altmap field may optionally be initialized, in which case * 2/ The altmap field may optionally be initialized, in which case
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment