From dd475541ca543cbbd8086e88cad06714dc0120b4 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 28 Jun 2013 09:51:36 +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