mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +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 @@ err_pfn_remap:
|
||||
|
||||
|
||||
/*
|
||||
* 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