]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
vmcore-allow-user-process-to-remap-elf-note-segment-buffer-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 3 Jul 2013 00:19:09 +0000 (10:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 17 Jul 2013 02:34:50 +0000 (12:34 +1000)
use the conventional comment layout format

Cc: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
Cc: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Lisa Mitchell <lisa.mitchell@hp.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/proc/vmcore.c

index c5cef289df8b625c06f7e47ce4b6b901487ca415..62da5eeb3102e9709a7f9bbf76fabc8859091f57 100644 (file)
@@ -479,8 +479,10 @@ static int __init merge_note_headers_elf64(char *elfptr, size_t *elfsz,
        if (!*notes_buf)
                return -ENOMEM;
 
-       /* Allow users to remap ELF note segment buffer on vmalloc
-        * memory using remap_vmalloc_range. */
+       /*
+        * Allow users to remap ELF note segment buffer on vmalloc memory using
+        * remap_vmalloc_range.()
+        */
        vm = find_vm_area(*notes_buf);
        BUG_ON(!vm);
        vm->flags |= VM_USERMAP;
@@ -665,8 +667,10 @@ static int __init merge_note_headers_elf32(char *elfptr, size_t *elfsz,
        if (!*notes_buf)
                return -ENOMEM;
 
-       /* Allow users to remap ELF note segment buffer on vmalloc
-        * memory using remap_vmalloc_range. */
+       /*
+        * Allow users to remap ELF note segment buffer on vmalloc memory using
+        * remap_vmalloc_range()
+        */
        vm = find_vm_area(*notes_buf);
        BUG_ON(!vm);
        vm->flags |= VM_USERMAP;