* [PATCH -next] fs/proc/vmcore: Fix vmcore_alloc_buf() kernel-doc comment
@ 2021-12-30 8:17 Yang Li
0 siblings, 0 replies; only message in thread
From: Yang Li @ 2021-12-30 8:17 UTC (permalink / raw)
To: bhe
Cc: vgoyal, dyoung, kexec, linux-kernel, linux-fsdevel, Yang Li,
Abaci Robot
Fix a spelling mistake sizez -> size, to remove some warnings
found by running scripts/kernel-doc, which is caused by using
'make W=1'.
fs/proc/vmcore.c:489: warning: Function parameter or member 'size' not
described in 'vmcore_alloc_buf'
fs/proc/vmcore.c:489: warning: Excess function parameter 'sizez'
description in 'vmcore_alloc_buf'
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
fs/proc/vmcore.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c
index 702754dd1daf..cbb3ac5ca0c4 100644
--- a/fs/proc/vmcore.c
+++ b/fs/proc/vmcore.c
@@ -477,7 +477,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().
--
2.20.1.7.g153144c
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-12-30 8:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-30 8:17 [PATCH -next] fs/proc/vmcore: Fix vmcore_alloc_buf() kernel-doc comment Yang Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox