Skip to contentSkip to conversation

fs/proc/vmcore: Fix 'sizez' kernel-doc warning in vmcore.c

PATCH New Wang Hai 1 participant 1 message Sep 18, 2020

Subsystems (5)
lore
Share & tools
lore

Wang Hai

author
#0 lore raw

PATCH 1/1 fs/proc/vmcore: Fix 'sizez' kernel-doc warning in vmcore.c

Fixes the following W=1 kernel build warning(s):

fs/proc/vmcore.c:458: warning: Excess function parameter 'sizez' description in 'vmcore_alloc_buf'

Rename sizez to size.

---
 fs/proc/vmcore.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/proc/vmcore.c +1 -1
index c3a345c28a93..bfb0aa4d63e4 100644
@@ -446,7 +446,7 @@ static const struct vm_operations_struct vmcore_mmap_ops = {
 
 /**
  * vmcore_alloc_buf - allocate buffer in vmalloc memory
- * @sizez: size of buffer
+ * @size: size of buffer
  *
  * If CONFIG_MMU is defined, use vmalloc_user() to allow users to mmap
  * the buffer to user-space by means of remap_vmalloc_range().
Signature · 1 line
2.17.1