]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
vmcore-allow-user-process-to-remap-elf-note-segment-buffer-fix
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 27 Jun 2013 23:51:36 +0000 (09:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:37:35 +0000 (16:37 +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 dbf91c2138cfecd01cd8feaad00360e95415ca8c..1082492e02fca4b9e006697fa64c744334c6bab1 100644 (file)
@@ -386,8 +386,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;
@@ -572,8 +574,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;