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: <20251003092836.120417-1-slopixelz@gmail.com>
Date: Fri,  3 Oct 2025 14:58:36 +0530
From: slopixelz@...il.com
To: viro@...iv.linux.org.uk
Cc: willy@...radead.org,
	brauner@...nel.org,
	chentaotao@...iglobal.com,
	linux-kernel@...r.kernel.org,
	Shubham Sharma <slopixelz@...il.com>
Subject: [PATCH] fs/ufs: Add kernel-doc for ufs_getfrag_block()

From: Shubham Sharma <slopixelz@...il.com>

Fix missing parameter documentation in ufs_getfrag_block().
Kernel-doc warnings reported for 'inode','fragment', 'bh_result' and 'create'.
Add proper kernel-doc comments to describe these parameters.
---
 fs/ufs/inode.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c
index 8361c00e8fa6..0776eef812fd 100644
--- a/fs/ufs/inode.c
+++ b/fs/ufs/inode.c
@@ -370,7 +370,11 @@ static u64 ufs_inode_getblock(struct inode *inode, u64 ind_block,
 /**
  * ufs_getfrag_block() - `get_block_t' function, interface between UFS and
  * read_folio, writepages and so on
- */
+ * @inode: pointer to inode
+ * @fragment: fragment number to fetch
+ * @bh_result: pointer to buffer_head where the block mapping will be stored
+ * @create: flag indicating whether to allocate the block if it does not exist
+*/
 
 static int ufs_getfrag_block(struct inode *inode, sector_t fragment, struct buffer_head *bh_result, int create)
 {
-- 
2.48.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ