From accdc65c5b8c85b68a15ed51cd3d7a5d6deef87e Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 7 Jun 2013 10:07:50 +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