]> git.baikalelectronics.ru Git - kernel.git/commit
mm: fix up get_user_pages* comments
authorLorenzo Stoakes <lstoakes@gmail.com>
Tue, 13 Dec 2016 00:42:46 +0000 (16:42 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 13 Dec 2016 02:55:07 +0000 (18:55 -0800)
commited4e70cb4c8ecb09265f359cfb0f2f6face9dd5b
tree9b3aa3e113dab66c3c84f4b570c4a2dede09e40f
parentaa649674f8f1af19003f32265c1bdc0f2ad89b3b
mm: fix up get_user_pages* comments

In the previous round of get_user_pages* changes comments attached to
__get_user_pages_unlocked() and get_user_pages_unlocked() were rendered
incorrect, this patch corrects them.

In addition the get_user_pages_unlocked() comment seems to have already
been outdated as it referred to tsk, mm parameters which were removed in
818078b5 ("mm/gup: Remove the macro overload API migration helpers from
the get_user*() APIs"), this patch fixes this also.

Link: http://lkml.kernel.org/r/20161025233435.5338-1-lstoakes@gmail.com
Signed-off-by: Lorenzo Stoakes <lstoakes@gmail.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/gup.c