diff options
author | Li Zhijian <lizhijian@fujitsu.com> | 2023-02-07 09:27:00 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-10 03:51:46 +0300 |
commit | 223ec6ab265ead0b319bc2f15d0d1be05078a74b (patch) | |
tree | 38cb4504707c18640e5b61dc383853433f624477 /mm | |
parent | e56397e8c40da82c78dccb6f48bfa21e88ccb1e4 (diff) | |
download | linux-223ec6ab265ead0b319bc2f15d0d1be05078a74b.tar.xz |
mm/memremap.c: fix outdated comment in devm_memremap_pages
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>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/memremap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memremap.c b/mm/memremap.c index 2f88f43d4a01..bee85560a243 100644 --- a/mm/memremap.c +++ b/mm/memremap.c @@ -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 |