From: Andrew Morton Date: Wed, 19 Jun 2013 00:06:08 +0000 (+1000) Subject: vmcore-allow-user-process-to-remap-elf-note-segment-buffer-fix X-Git-Tag: next-20130619~2^2~506 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9387b3d8592b86630b817b3d68bdd77d217f2da2;p=karo-tx-linux.git vmcore-allow-user-process-to-remap-elf-note-segment-buffer-fix use the conventional comment layout format Cc: Atsushi Kumagai Cc: HATAYAMA Daisuke Cc: KOSAKI Motohiro Cc: Lisa Mitchell Cc: Vivek Goyal Cc: Zhang Yanfei Signed-off-by: Andrew Morton --- diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c index dbf91c2138cf..1082492e02fc 100644 --- a/fs/proc/vmcore.c +++ b/fs/proc/vmcore.c @@ -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;