]> git.baikalelectronics.ru Git - kernel.git/commit
mm: fix ambiguous comments for better code readability
authorchenqiwu <chenqiwu@xiaomi.com>
Tue, 7 Apr 2020 03:08:33 +0000 (20:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Apr 2020 17:43:41 +0000 (10:43 -0700)
commiteb3801f0f782d99379b1499c691a3c3e07e8a1ea
tree654010cdc1370281a888afcf72f845efdf636994
parentf1b0082d8e0689ee2918498807579c21c7c15592
mm: fix ambiguous comments for better code readability

The parameter of remap_pfn_range() @pfn passed from the caller is actually
a page-frame number converted by corresponding physical address of kernel
memory, the original comment is ambiguous that may mislead the users.

Meanwhile, there is an ambiguous typo "VMM" in the comment of
vm_area_struct.  So fixing them will make the code more readable.

Signed-off-by: chenqiwu <chenqiwu@xiaomi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/1583026921-15279-1-git-send-email-qiwuchen55@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm_types.h
mm/memory.c