Skip to contentSkip to conversation

binfmt_elf: Correct `arch_check_elf's description

PATCH New Maciej W. Rozycki 1 participant 1 message Sep 6, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 binfmt_elf: Correct `arch_check_elf's description

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

---
linux-arch-check-elf-doc-fix.diff

fs/binfmt_elf.c +1 -1
Index: linux-org-test/fs/binfmt_elf.c
===================================================================
@@ -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