mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-24 05:01:03 +02: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:
@@ -279,8 +279,8 @@ err_pfn_remap:
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Not device managed version of dev_memremap_pages, undone by
|
* Not device managed version of devm_memremap_pages, undone by
|
||||||
* memunmap_pages(). Please use dev_memremap_pages if you have a struct
|
* memunmap_pages(). Please use devm_memremap_pages if you have a struct
|
||||||
* device available.
|
* device available.
|
||||||
*/
|
*/
|
||||||
void *memremap_pages(struct dev_pagemap *pgmap, int nid)
|
void *memremap_pages(struct dev_pagemap *pgmap, int nid)
|
||||||
|
Reference in New Issue
Block a user