[PATCH 11/15] fs: ntfs: super: Provide missing description and demote non-conformant headers

From: Lee Jones
Date: Thu May 20 2021 - 08:41:59 EST


Fixes the following W=1 kernel build warning(s):

fs/ntfs/super.c:66: warning: Function parameter or member 's' not described in 'simple_getbool'
fs/ntfs/super.c:66: warning: Function parameter or member 'setval' not described in 'simple_getbool'
fs/ntfs/super.c:1204: warning: Function parameter or member 'rp' not described in 'load_and_check_logfile'
fs/ntfs/super.c:2660: warning: wrong kernel-doc identifier on line:

Cc: Anton Altaparmakov <anton@xxxxxxxxxx>
Cc: linux-ntfs-dev@xxxxxxxxxxxxxxxxxxxxx
Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
---
fs/ntfs/super.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c
index 0d7e948cb29c9..ba2be89abb23f 100644
--- a/fs/ntfs/super.c
+++ b/fs/ntfs/super.c
@@ -57,7 +57,7 @@ const option_t on_errors_arr[] = {
{ 0, NULL }
};

-/**
+/*
* simple_getbool -
*
* Copied from old ntfs driver (which copied from vfat driver).
@@ -1196,6 +1196,7 @@ static bool check_mft_mirror(ntfs_volume *vol)
/**
* load_and_check_logfile - load and check the logfile inode for a volume
* @vol: ntfs super block describing device whose logfile to load
+ * @rp: restart page header to check
*
* Return 'true' on success or 'false' on error.
*/
@@ -2656,7 +2657,7 @@ static int ntfs_write_inode(struct inode *vi, struct writeback_control *wbc)
}
#endif

-/**
+/*
* The complete super operations.
*/
static const struct super_operations ntfs_sops = {
--
2.31.1