lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220408001014.10061-1-yang.lee@linux.alibaba.com>
Date:   Fri,  8 Apr 2022 08:10:14 +0800
From:   Yang Li <yang.lee@...ux.alibaba.com>
To:     hch@...radead.org
Cc:     linux-kernel@...r.kernel.org, Yang Li <yang.lee@...ux.alibaba.com>,
        Abaci Robot <abaci@...ux.alibaba.com>
Subject: [PATCH -next] freevxfs: Fix vxfs_immed_readpage() kernel-doc comment

Change parameter type to parameter name in vxfs_immed_readpage()
kernel-doc comment to remove warnings found by running
scripts/kernel-doc, which is caused by using 'make W=1'.

fs/freevxfs/vxfs_immed.c:67: warning: Function parameter or member 'fp'
not described in 'vxfs_immed_readpage'
fs/freevxfs/vxfs_immed.c:67: warning: Function parameter or member 'pp'
not described in 'vxfs_immed_readpage'
fs/freevxfs/vxfs_immed.c:67: warning: Excess function parameter 'file'
description in 'vxfs_immed_readpage'
fs/freevxfs/vxfs_immed.c:67: warning: Excess function parameter 'page'
description in 'vxfs_immed_readpage'

Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@...ux.alibaba.com>
---
 fs/freevxfs/vxfs_immed.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/freevxfs/vxfs_immed.c b/fs/freevxfs/vxfs_immed.c
index bfc780c682fb..d7269217f80a 100644
--- a/fs/freevxfs/vxfs_immed.c
+++ b/fs/freevxfs/vxfs_immed.c
@@ -49,8 +49,8 @@ const struct address_space_operations vxfs_immed_aops = {
 
 /**
  * vxfs_immed_readpage - read part of an immed inode into pagecache
- * @file:	file context (unused)
- * @page:	page frame to fill in.
+ * @fp:	file context (unused)
+ * @pp:	page frame to fill in.
  *
  * Description:
  *   vxfs_immed_readpage reads a part of the immed area of the
-- 
2.20.1.7.g153144c

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ