Skip to contentSkip to conversation

arm64: kdump: fix small typo

PATCH Superseded Yangtao Li 2 participants 2 messages Nov 1, 2018 arm64

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Yangtao Li

author
#0 lore raw

PATCH 1/1 arm64: kdump: fix small typo

---
 arch/arm64/kernel/crash_dump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/kernel/crash_dump.c +1 -1
index f46d57c31443..6b5037ed15b2 100644
@@ -58,7 +58,7 @@ ssize_t copy_oldmem_page(unsigned long pfn, char *buf,
 /**
  * elfcorehdr_read - read from ELF core header
  * @buf: buffer where the data is placed
- * @csize: number of bytes to read
+ * @count: number of bytes to read
  * @ppos: address in the memory
  *
  * This function reads @count bytes from elf core header which exists
Signature · 1 line
2.17.0
#1 lore raw
Quoted 10 lines · Yangtao Li
---
 arch/arm64/kernel/crash_dump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/kernel/crash_dump.c +0 -0
index f46d57c31443..6b5037ed15b2 100644

arch/arm64/kernel/crash_dump.c ssize_t copy_oldmem_page(unsigned long pfn, char *buf, · line 61

Quoted 5 lines
arch/arm64/kernel/crash_dump.c +1 -1
@@ -58,7 +58,7 @@ ssize_t copy_oldmem_page(unsigned long pfn, char *buf,
 /**
  * elfcorehdr_read - read from ELF core header
  * @buf: buffer where the data is placed
- * @csize: number of bytes to read
+ * @count: number of bytes to read

I know this is trivial, but please can you include a short commit message saying that this brings the kerneldoc in line with the function signature?

Thanks,

Will