Skip to content

Commit

Permalink
mm/memremap.c: fix outdated comment in devm_memremap_pages
Browse files Browse the repository at this point in the history
commit a4574f6 ("mm/memremap_pages: convert to 'struct range'")
converted res to range, update the comment correspondingly.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Li Zhijian <[email protected]>
Cc: Dan Williams <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
  • Loading branch information
zhijianli88 authored and akpm00 committed Feb 10, 2023
1 parent e56397e commit 223ec6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/memremap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 223ec6a

Please sign in to comment.