[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200918125148.8292-1-wanghai38@huawei.com>
Date: Fri, 18 Sep 2020 20:51:48 +0800
From: Wang Hai <wanghai38@...wei.com>
To: <dyoung@...hat.com>, <bhe@...hat.com>, <vgoyal@...hat.com>,
<adobriyan@...il.com>
CC: <kexec@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<linux-fsdevel@...r.kernel.org>
Subject: [PATCH -next] 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.
Signed-off-by: Wang Hai <wanghai38@...wei.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 c3a345c28a93..bfb0aa4d63e4 100644
--- a/fs/proc/vmcore.c
+++ b/fs/proc/vmcore.c
@@ -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().
--
2.17.1
Powered by blists - more mailing lists