[PATCH] binfmt_elf: Correct `arch_check_elf's description

From: Maciej W. Rozycki
Date: Sun Sep 06 2015 - 18:23:25 EST


Correct `arch_check_elf's description, mistakenly copied and pasted from
`arch_elf_pt_proc'.

Signed-off-by: Maciej W. Rozycki <macro@xxxxxxxxxxxxxx>
---
linux-arch-check-elf-doc-fix.diff
Index: linux-org-test/fs/binfmt_elf.c
===================================================================
--- linux-org-test.orig/fs/binfmt_elf.c 2015-07-17 15:04:19.855789000 +0100
+++ linux-org-test/fs/binfmt_elf.c 2015-07-17 15:04:55.147100000 +0100
@@ -487,7 +487,7 @@ static inline int arch_elf_pt_proc(struc
}

/**
- * arch_check_elf() - check a PT_LOPROC..PT_HIPROC ELF program header
+ * arch_check_elf() - check an ELF executable
* @ehdr: The main ELF header
* @has_interp: True if the ELF has an interpreter, else false.
* @state: Architecture-specific state preserved throughout the process
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/