aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/proc/vmcore.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c
index ab852715916d..6a8e785b29da 100644
--- a/fs/proc/vmcore.c
+++ b/fs/proc/vmcore.c
@@ -484,7 +484,6 @@ static int __init update_note_header_size_elf64(const Elf64_Ehdr *ehdr_ptr)
484 phdr_ptr->p_memsz = real_sz; 484 phdr_ptr->p_memsz = real_sz;
485 if (real_sz == 0) { 485 if (real_sz == 0) {
486 pr_warn("Warning: Zero PT_NOTE entries found\n"); 486 pr_warn("Warning: Zero PT_NOTE entries found\n");
487 return -EINVAL;
488 } 487 }
489 } 488 }
490 489
@@ -671,7 +670,6 @@ static int __init update_note_header_size_elf32(const Elf32_Ehdr *ehdr_ptr)
671 phdr_ptr->p_memsz = real_sz; 670 phdr_ptr->p_memsz = real_sz;
672 if (real_sz == 0) { 671 if (real_sz == 0) {
673 pr_warn("Warning: Zero PT_NOTE entries found\n"); 672 pr_warn("Warning: Zero PT_NOTE entries found\n");
674 return -EINVAL;
675 } 673 }
676 } 674 }
677 675