Commit e9f5d101 authored by Yang Li's avatar Yang Li Committed by Linus Torvalds

proc/vmcore: fix vmcore_alloc_buf() kernel-doc comment

Fix a spelling problem to remove warnings found by running
scripts/kernel-doc, which is caused by using 'make W=1'.

  fs/proc/vmcore.c:492: warning: Function parameter or member 'size' not described in 'vmcore_alloc_buf'
  fs/proc/vmcore.c:492: warning: Excess function parameter 'sizez' description in 'vmcore_alloc_buf'

Link: https://lkml.kernel.org/r/20220129011449.105278-1-yang.lee@linux.alibaba.comSigned-off-by: default avatarYang Li <yang.lee@linux.alibaba.com>
Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Acked-by: default avatarBaoquan He <bhe@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5039b170
...@@ -480,7 +480,7 @@ static const struct vm_operations_struct vmcore_mmap_ops = { ...@@ -480,7 +480,7 @@ static const struct vm_operations_struct vmcore_mmap_ops = {
/** /**
* vmcore_alloc_buf - allocate buffer in vmalloc memory * 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 * If CONFIG_MMU is defined, use vmalloc_user() to allow users to mmap
* the buffer to user-space by means of remap_vmalloc_range(). * the buffer to user-space by means of remap_vmalloc_range().
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment