From: Liao Pingfang Date: Fri, 16 Oct 2020 03:10:25 +0000 (-0700) Subject: kernel/sys.c: replace do_brk with do_brk_flags in comment of prctl_set_mm_map() X-Git-Tag: v5.15~2654^2~59 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=15ec0fcff6dab37533e02e2092d9228726186366;p=platform%2Fkernel%2Flinux-starfive.git kernel/sys.c: replace do_brk with do_brk_flags in comment of prctl_set_mm_map() Replace do_brk with do_brk_flags in comment of prctl_set_mm_map(), since do_brk was removed in following commit. Fixes: bb177a732c4369 ("mm: do not bug_on on incorrect length in __mm_populate()") Signed-off-by: Liao Pingfang Signed-off-by: Yi Wang Signed-off-by: Andrew Morton Link: https://lkml.kernel.org/r/1600650751-43127-1-git-send-email-wang.yi59@zte.com.cn Signed-off-by: Linus Torvalds --- diff --git a/kernel/sys.c b/kernel/sys.c index ab6c409..6401880 100644 --- a/kernel/sys.c +++ b/kernel/sys.c @@ -2034,7 +2034,7 @@ static int prctl_set_mm_map(int opt, const void __user *addr, unsigned long data * VMAs already unmapped and kernel uses these members for statistics * output in procfs mostly, except * - * - @start_brk/@brk which are used in do_brk but kernel lookups + * - @start_brk/@brk which are used in do_brk_flags but kernel lookups * for VMAs when updating these memvers so anything wrong written * here cause kernel to swear at userspace program but won't lead * to any problem in kernel itself