diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2022-06-07 16:36:21 +0200 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-06-17 04:48:30 +0200 |
commit | 23689037e0986724e3bdc41bb2ee6fa1b497b8f9 (patch) | |
tree | ed09f23b41a189f4456edadbb52023aff18e4872 /mm/memremap.c | |
parent | mm/mempool: use might_alloc() (diff) | |
download | linux-23689037e0986724e3bdc41bb2ee6fa1b497b8f9.tar.xz linux-23689037e0986724e3bdc41bb2ee6fa1b497b8f9.zip |
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>
Diffstat (limited to 'mm/memremap.c')
-rw-r--r-- | mm/memremap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/memremap.c b/mm/memremap.c index b870a659eee6..377ccbc7e356 100644 --- a/mm/memremap.c +++ b/mm/memremap.c @@ -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) |