mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-04 04:02:26 +00:00
mm/memremap: fix wrong function name above memremap_pages()
Fix the wrong function name dev_memremap_pages above memremap_pages() to avoid confusion. Minor readability improvement. Link: https://lkml.kernel.org/r/20220607143621.58989-1-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
21bfe8db0a
commit
23689037e0
@ -279,8 +279,8 @@ static int pagemap_range(struct dev_pagemap *pgmap, struct mhp_params *params,
|
||||
|
||||
|
||||
/*
|
||||
* Not device managed version of dev_memremap_pages, undone by
|
||||
* memunmap_pages(). Please use dev_memremap_pages if you have a struct
|
||||
* Not device managed version of devm_memremap_pages, undone by
|
||||
* memunmap_pages(). Please use devm_memremap_pages if you have a struct
|
||||
* device available.
|
||||
*/
|
||||
void *memremap_pages(struct dev_pagemap *pgmap, int nid)
|
||||
|
Loading…
Reference in New Issue
Block a user