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

Signed-off-by: Maciej W. Rozycki <[email protected]>
---
Hi,

 This is obviously correct, any chance to have it included in 4.4?

  Maciej

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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to