Skip to content
Commit abd69b9e authored by Wang Wenhu's avatar Wang Wenhu Committed by Linus Torvalds
Browse files

mm/memory.c: clarify a confusing comment for vm_iomap_memory



The param "start" actually referes to the physical memory start, which is
to be mapped into virtual area vma.  And it is the field vma->vm_start
which stands for the start of the area.

Most of the time, we do not read through whole implementation of a
function but only the definition and essential comments.  Accurate
comments are definitely the base stone.

Signed-off-by: default avatarWang Wenhu <wenhu.wang@vivo.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Reviewed-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20200318052206.105104-1-wenhu.wang@vivo.com
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 86a76331
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment