From 9387b3d8592b86630b817b3d68bdd77d217f2da2 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 19 Jun 2013 10:06:08 +1000 Subject: [PATCH] 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 --- fs/proc/vmcore.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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; -- 2.39.5