Rid W=1 warnings from FS {GFS2,NTFS}
Subsystems (2)
cover Rid W=1 warnings from FS {GFS2,NTFS}
This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings.
Lee Jones (15):
fs: gfs2: bmap: Demote half-complete kernel-doc headers fix others
fs: gfs2: glock: Fix some deficient kernel-doc headers and demote
non-conformant ones
fs: ntfs: namei: Demote non-conformant kernel-doc headers
fs: ntfs: unistr: Add missing param descriptions for 'name{1,2}_len'
fs: ntfs: compress: Demote a few non-conformant kernel-doc headers
fs: ntfs: dir: Supply missing descriptions for 'start' and 'end' and
demote other headers
fs: ntfs: runlist: Demote non-conformant kernel-doc headers
fs: ntfs: inode: Fix incorrect function name and demote file header
fs: ntfs: attrib: File headers are not good candidates for kernel-doc
fs: ntfs: aops: Demote kernel-doc abuses
fs: ntfs: super: Provide missing description and demote non-conformant
headers
fs: ntfs: file: Provide missing descriptions for 'start' and 'end'
fs: ntfs: mft: File headers to not make good candidates for kernel-doc
fs: ntfs: compress: File headers are not good candidates for
kernel-doc
fs: ntfs: runlist: File headers are not good candidates for kernel-doc
fs/gfs2/bmap.c | 2 +- fs/gfs2/glock.c | 4 ++-- fs/ntfs/aops.c | 8 ++++---- fs/ntfs/attrib.c | 2 +- fs/ntfs/compress.c | 12 ++++++------ fs/ntfs/dir.c | 7 ++++--- fs/ntfs/file.c | 2 ++ fs/ntfs/inode.c | 4 ++-- fs/ntfs/mft.c | 2 +- fs/ntfs/namei.c | 4 ++-- fs/ntfs/runlist.c | 6 +++--- fs/ntfs/super.c | 5 +++-- fs/ntfs/unistr.c | 2 ++ 13 files changed, 33 insertions(+), 27 deletions(-)
Signature · 1 line
2.31.1
PATCH 1/15 fs: gfs2: bmap: Demote half-complete kernel-doc headers fix others
Fixes the following W=1 kernel build warning(s):
fs/gfs2/bmap.c:1502: warning: Function parameter or member 'rd_gh' not described in 'sweep_bh_for_rgrps' fs/gfs2/bmap.c:1502: warning: Excess function parameter 'rg_gh' description in 'sweep_bh_for_rgrps' fs/gfs2/bmap.c:1671: warning: Function parameter or member 'sdp' not described in 'find_nonnull_ptr' fs/gfs2/bmap.c:1671: warning: Function parameter or member 'end_list' not described in 'find_nonnull_ptr' fs/gfs2/bmap.c:1671: warning: Function parameter or member 'end_aligned' not described in 'find_nonnull_ptr'
--- fs/gfs2/bmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/gfs2/bmap.c +1 -1
@@ -1658,7 +1658,7 @@ static bool mp_eq_to_hgt(struct metapath *mp, __u16 *list, unsigned int h)return true; } -/** +/* * find_nonnull_ptr - find a non-null pointer given a metapath and height * @sdp: The superblock * @mp: starting metapath
Signature · 1 line
2.31.1
PATCH 2/15 fs: gfs2: glock: Fix some deficient kernel-doc headers and demote non-conformant ones
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
fs/gfs2/glock.c:365: warning: Function parameter or member 'gl' not described in 'do_error' fs/gfs2/glock.c:365: warning: Function parameter or member 'ret' not described in 'do_error' fs/gfs2/glock.c:461: warning: Function parameter or member 'new_state' not described in 'state_change' fs/gfs2/glock.c:1277: warning: Function parameter or member 'delay' not described in 'handle_callback' fs/gfs2/glock.c:1277: warning: Function parameter or member 'remote' not described in 'handle_callback' fs/gfs2/glock.c:1578: warning: Function parameter or member 'p' not described in 'nq_m_sync' fs/gfs2/glock.c:1993: warning: Excess function parameter 'wait' description in 'gfs2_gl_hash_clear'
--- fs/gfs2/glock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
fs/gfs2/glock.c +2 -2
@@ -356,7 +356,7 @@ static void gfs2_holder_wake(struct gfs2_holder *gh) } } -/** +/* * do_error - Something unexpected has happened during a lock request * @gl: The glock * @ret: The status from the DLM
@@ -1263,7 +1263,7 @@ int gfs2_glock_async_wait(unsigned int num_gh, struct gfs2_holder *ghs)return ret; } -/** +/* * handle_callback - process a demote request * @gl: the glock * @state: the state the caller wants us to change to
Signature · 1 line
2.31.1
Andreas Gruenbacher
maintainerRe: [PATCH 02/15] fs: gfs2: glock: Fix some deficient kernel-doc headers and demote non-conformant ones
Quoted 9 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
fs/gfs2/glock.c:365: warning: Function parameter or member 'gl' not described in 'do_error'fs/gfs2/glock.c:365: warning: Function parameter or member 'ret' not described in 'do_error'fs/gfs2/glock.c:461: warning: Function parameter or member 'new_state' not described in 'state_change'fs/gfs2/glock.c:1277: warning: Function parameter or member 'delay' not described in 'handle_callback'fs/gfs2/glock.c:1277: warning: Function parameter or member 'remote' not described in 'handle_callback'fs/gfs2/glock.c:1578: warning: Function parameter or member 'p' not described in 'nq_m_sync'fs/gfs2/glock.c:1993: warning: Excess function parameter 'wait' description in 'gfs2_gl_hash_clear'
What's that? Those warnings don't exist in mainline, and the two warnings we have in mainline are fixed in for-next:
Andreas
Quoted 33 lines
Cc Bob Peterson <[email protected]>Cc Andreas Gruenbacher <[email protected]>Cc cluster-devel at redhat.comSigned-off-by Lee Jones <[email protected]>--- fs/gfs2/glock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)fs/gfs2/glock.c +2
-3@@ -356,7 +356,7 @@ static void gfs2_holder_wake(struct gfs2_holder *gh) } } -/** +/* * do_error - Something unexpected has happened during a lock request * @gl: The glock * @ret: The status from the DLM @@ -1263,7 +1263,7 @@ int gfs2_glock_async_wait(unsigned int num_gh, struct gfs2_holder *ghs)return ret; } -/** +/* * handle_callback - process a demote request * @gl: the glock * @state: the state the caller wants us to change to -- 2.31.1
Re: [PATCH 02/15] fs: gfs2: glock: Fix some deficient kernel-doc headers and demote non-conformant ones
Quoted 11 lines · Andreas Gruenbacher
Quoted 9 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
fs/gfs2/glock.c:365: warning: Function parameter or member 'gl' not described in 'do_error'fs/gfs2/glock.c:365: warning: Function parameter or member 'ret' not described in 'do_error'fs/gfs2/glock.c:461: warning: Function parameter or member 'new_state' not described in 'state_change'fs/gfs2/glock.c:1277: warning: Function parameter or member 'delay' not described in 'handle_callback'fs/gfs2/glock.c:1277: warning: Function parameter or member 'remote' not described in 'handle_callback'fs/gfs2/glock.c:1578: warning: Function parameter or member 'p' not described in 'nq_m_sync'fs/gfs2/glock.c:1993: warning: Excess function parameter 'wait' description in 'gfs2_gl_hash_clear'
Quoted 4 lines
What's that? Those warnings don't exist in mainline, and the two warnings we have in mainline are fixed in for-next:
Thanks for the heads-up Andreas.
This is a rebased set that was authored last cycle.
It's great that someone has been through and fixed these already.
Tell me, is that just the case for this patch, or the whole set?
Signature · 4 lines
Lee Jones [???] Senior Technical Lead - Developer Services Linaro.org ? Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog
Re: [PATCH 02/15] fs: gfs2: glock: Fix some deficient kernel-doc headers and demote non-conformant ones
Quoted 18 lines · Lee Jones
Quoted 11 lines · Andreas Gruenbacher
Quoted 9 lines · Lee Jones
Fixes the following W=1 kernel build warning(s):
fs/gfs2/glock.c:365: warning: Function parameter or member 'gl' not described in 'do_error'fs/gfs2/glock.c:365: warning: Function parameter or member 'ret' not described in 'do_error'fs/gfs2/glock.c:461: warning: Function parameter or member 'new_state' not described in 'state_change'fs/gfs2/glock.c:1277: warning: Function parameter or member 'delay' not described in 'handle_callback'fs/gfs2/glock.c:1277: warning: Function parameter or member 'remote' not described in 'handle_callback'fs/gfs2/glock.c:1578: warning: Function parameter or member 'p' not described in 'nq_m_sync'fs/gfs2/glock.c:1993: warning: Excess function parameter 'wait' description in 'gfs2_gl_hash_clear'Quoted 4 lines
What's that? Those warnings don't exist in mainline, and the two warnings we have in mainline are fixed in for-next:
Quoted 7 lines
Thanks for the heads-up Andreas.
This is a rebased set that was authored last cycle.
It's great that someone has been through and fixed these already.
Tell me, is that just the case for this patch, or the whole set?
Oh, I see what's happened.
You squashed all of my patches across all of the different drivers into a single commit for some reason. Looks like Git didn't notice and wilfully rebased the set, causing me to believe they hadn't been accepted.
Dropped, thanks.
Signature · 4 lines
Lee Jones [???] Senior Technical Lead - Developer Services Linaro.org ? Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog
PATCH 3/15 fs: ntfs: namei: Demote non-conformant kernel-doc headers
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
fs/ntfs/namei.c:263: warning: wrong kernel-doc identifier on line:
fs/ntfs/namei.c:368: warning: wrong kernel-doc identifier on line:
--- fs/ntfs/namei.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
fs/ntfs/namei.c +2 -2
@@ -259,7 +259,7 @@ static struct dentry *ntfs_lookup(struct inode *dir_ino, struct dentry *dent, } } -/** +/* * Inode operations for directories. */ const struct inode_operations ntfs_dir_inode_ops = {
@@ -364,7 +364,7 @@ static struct dentry *ntfs_fh_to_parent(struct super_block *sb, struct fid *fid, ntfs_nfs_get_inode); } -/** +/* * Export operations allowing NFS exporting of mounted NTFS partitions. * * We use the default ->encode_fh() for now. Note that they
Signature · 1 line
2.31.1
PATCH 4/15 fs: ntfs: unistr: Add missing param descriptions for 'name{1,2}_len'
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
fs/ntfs/unistr.c:87: warning: Function parameter or member 'name1_len' not described in 'ntfs_collate_names' fs/ntfs/unistr.c:87: warning: Function parameter or member 'name2_len' not described in 'ntfs_collate_names'
--- fs/ntfs/unistr.c | 2 ++ 1 file changed, 2 insertions(+)
fs/ntfs/unistr.c +2 -0
@@ -65,7 +65,9 @@ bool ntfs_are_names_equal(const ntfschar *s1, size_t s1_len,/** * ntfs_collate_names - collate two Unicode names * @name1: first Unicode name to compare +* @name1_len: length of @name1 * @name2: second Unicode name to compare +* @name2_len: length of @name2 * @err_val: if @name1 contains an invalid character return this value * @ic: either CASE_SENSITIVE or IGNORE_CASE * @upcase: upcase table (ignored if @ic is CASE_SENSITIVE)
Signature · 1 line
2.31.1
PATCH 5/15 fs: ntfs: compress: Demote a few non-conformant kernel-doc headers
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
fs/ntfs/compress.c:22: warning: Incorrect use of kernel-doc format: * ntfs_compression_constants - enum of constants used in the compression code fs/ntfs/compress.c:24: warning: cannot understand function prototype: 'typedef enum '
fs/ntfs/compress.c:47: warning: cannot understand function prototype: 'u8 *ntfs_compression_buffer; ' fs/ntfs/compress.c:52: warning: Function parameter or member 'ntfs_cb_lock' not described in 'DEFINE_SPINLOCK' fs/ntfs/compress.c:52: warning: expecting prototype for ntfs_cb_lock(). Prototype was for DEFINE_SPINLOCK() instead fs/ntfs/compress.c:88: warning: Function parameter or member 'page' not described in 'zero_partial_compressed_page' fs/ntfs/compress.c:88: warning: Function parameter or member 'initialized_size' not described in 'zero_partial_compressed_page' fs/ntfs/compress.c:107: warning: Function parameter or member 'page' not described in 'handle_bounds_compressed_page' fs/ntfs/compress.c:107: warning: Function parameter or member 'i_size' not described in 'handle_bounds_compressed_page' fs/ntfs/compress.c:107: warning: Function parameter or member 'initialized_size' not described in 'handle_bounds_compressed_page'
--- fs/ntfs/compress.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
fs/ntfs/compress.c +5 -5
@@ -18,7 +18,7 @@#include "debug.h" #include "ntfs.h" -/** +/* * ntfs_compression_constants - enum of constants used in the compression code */ typedef enum {
@@ -41,12 +41,12 @@ typedef enum {NTFS_MAX_CB_SIZE =64 *1024 , } ntfs_compression_constants; -/** +/* * ntfs_compression_buffer - one buffer for the decompression engine */ static u8 *ntfs_compression_buffer; -/** +/* * ntfs_cb_lock - spinlock which protects ntfs_compression_buffer */ static DEFINE_SPINLOCK (ntfs_cb_lock);
@@ -80,7 +80,7 @@ void free_compression_buffers(void) ntfs_compression_buffer =NULL ; } -/** +/* * zero_partial_compressed_page - zero out of bounds compressed page region */ static void zero_partial_compressed_page(struct page *page,
@@ -99,7 +99,7 @@ static void zero_partial_compressed_page(struct page *page,return ; } -/** +/* * handle_bounds_compressed_page - test for&handle out of bounds compressed page */ static inline void handle_bounds_compressed_page(struct page *page,
Signature · 1 line
2.31.1
PATCH 6/15 fs: ntfs: dir: Supply missing descriptions for 'start' and 'end' and demote other headers
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
fs/ntfs/dir.c:21: warning: Incorrect use of kernel-doc format: * The little endian Unicode string $I30 as a global constant. fs/ntfs/dir.c:23: warning: cannot understand function prototype: 'ntfschar I30[5] = ' fs/ntfs/dir.c:1489: warning: Function parameter or member 'start' not described in 'ntfs_dir_fsync' fs/ntfs/dir.c:1489: warning: Function parameter or member 'end' not described in 'ntfs_dir_fsync' fs/ntfs/dir.c:1489: warning: Excess function parameter 'dentry' description in 'ntfs_dir_fsync'
--- fs/ntfs/dir.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
fs/ntfs/dir.c +4 -3
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0-or-later -/** +/* * dir.c - NTFS kernel directory operations. Part of the Linux-NTFS project. * * Copyright (c) 2001-2007 Anton Altaparmakov
@@ -17,7 +17,7 @@#include "debug.h" #include "ntfs.h" -/** +/* * The little endian Unicode string $I30 as a global constant. */ ntfschar I30 [5 ] = {cpu_to_le16 ('$' ),cpu_to_le16 ('I' ),
@@ -1462,7 +1462,8 @@ static int ntfs_dir_open(struct inode *vi, struct file *filp)/** * ntfs_dir_fsync - sync a directory to disk * @filp: directory to be synced -* @dentry: dentry describing the directory to sync +* @start: offset in bytes where the range starts +* @end: offset in bytes where the range ends (inclusive) * @datasync: if non-zero only flush user data and not metadata * * Data integrity sync of a directory to disk. Used for fsync, fdatasync, and
Signature · 1 line
2.31.1
PATCH 7/15 fs: ntfs: runlist: Demote non-conformant kernel-doc headers
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
fs/ntfs/runlist.c:16: warning: Incorrect use of kernel-doc format: * ntfs_rl_mm - runlist memmove fs/ntfs/runlist.c:22: warning: Function parameter or member 'base' not described in 'ntfs_rl_mm' fs/ntfs/runlist.c:22: warning: Function parameter or member 'dst' not described in 'ntfs_rl_mm' fs/ntfs/runlist.c:22: warning: Function parameter or member 'src' not described in 'ntfs_rl_mm' fs/ntfs/runlist.c:22: warning: Function parameter or member 'size' not described in 'ntfs_rl_mm' fs/ntfs/runlist.c:22: warning: expecting prototype for c(). Prototype was for ntfs_rl_mm() instead fs/ntfs/runlist.c:35: warning: Function parameter or member 'dstbase' not described in 'ntfs_rl_mc' fs/ntfs/runlist.c:35: warning: Function parameter or member 'dst' not described in 'ntfs_rl_mc' fs/ntfs/runlist.c:35: warning: Function parameter or member 'srcbase' not described in 'ntfs_rl_mc' fs/ntfs/runlist.c:35: warning: Function parameter or member 'src' not described in 'ntfs_rl_mc' fs/ntfs/runlist.c:35: warning: Function parameter or member 'size' not described in 'ntfs_rl_mc'
--- fs/ntfs/runlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
fs/ntfs/runlist.c +2 -2
@@ -12,7 +12,7 @@#include "malloc.h" #include "ntfs.h" -/** +/* * ntfs_rl_mm - runlist memmove * * It is up to the caller to serialize access to the runlist @base.
@@ -24,7 +24,7 @@ static inline void ntfs_rl_mm(runlist_element *base, int dst, int src,memmove (base + dst, base + src, size *sizeof (*base)); } -/** +/* * ntfs_rl_mc - runlist memory copy * * It is up to the caller to serialize access to the runlists @dstbase and
Signature · 1 line
2.31.1
PATCH 8/15 fs: ntfs: inode: Fix incorrect function name and demote file header
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
fs/ntfs/inode.c:31: warning: Incorrect use of kernel-doc format: * ntfs_test_inode - compare two (possibly fake) inodes for equality fs/ntfs/inode.c:47: warning: Function parameter or member 'vi' not described in 'ntfs_test_inode' fs/ntfs/inode.c:47: warning: Function parameter or member 'data' not described in 'ntfs_test_inode' fs/ntfs/inode.c:47: warning: expecting prototype for c(). Prototype was for ntfs_test_inode() instead fs/ntfs/inode.c:2945: warning: expecting prototype for ntfs_write_inode(). Prototype was for __ntfs_write_inode() instead
--- fs/ntfs/inode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
fs/ntfs/inode.c +2 -2
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0-or-later -/** +/* * inode.c - NTFS kernel inode handling. * * Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc.
@@ -2924,7 +2924,7 @@ int ntfs_setattr(struct user_namespace *mnt_userns, struct dentry *dentry, }/** -* ntfs_write_inode - write out a dirty inode +* __ntfs_write_inode - write out a dirty inode * @vi: inode to write out * @sync: if true, write out synchronously *
Signature · 1 line
2.31.1
PATCH 9/15 fs: ntfs: attrib: File headers are not good candidates for kernel-doc
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
fs/ntfs/attrib.c:25: warning: Incorrect use of kernel-doc format: * ntfs_map_runlist_nolock - map (a part of) a runlist of an ntfs inode fs/ntfs/attrib.c:71: warning: Function parameter or member 'ni' not described in 'ntfs_map_runlist_nolock' fs/ntfs/attrib.c:71: warning: Function parameter or member 'vcn' not described in 'ntfs_map_runlist_nolock' fs/ntfs/attrib.c:71: warning: Function parameter or member 'ctx' not described in 'ntfs_map_runlist_nolock' fs/ntfs/attrib.c:71: warning: expecting prototype for c(). Prototype was for ntfs_map_runlist_nolock() instead
--- fs/ntfs/attrib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ntfs/attrib.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0-or-later -/** +/* * attrib.c - NTFS attribute operations. Part of the Linux-NTFS project. * * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc.
Signature · 1 line
2.31.1
PATCH 10/15 fs: ntfs: aops: Demote kernel-doc abuses
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
fs/ntfs/aops.c:30: warning: Incorrect use of kernel-doc format: * ntfs_end_buffer_async_read - async io completion for reading attributes fs/ntfs/aops.c:46: warning: Function parameter or member 'bh' not described in 'ntfs_end_buffer_async_read' fs/ntfs/aops.c:46: warning: Function parameter or member 'uptodate' not described in 'ntfs_end_buffer_async_read' fs/ntfs/aops.c:46: warning: expecting prototype for c(). Prototype was for ntfs_end_buffer_async_read() instead fs/ntfs/aops.c:1652: warning: cannot understand function prototype: 'const struct address_space_operations ntfs_normal_aops = ' fs/ntfs/aops.c:1667: warning: cannot understand function prototype: 'const struct address_space_operations ntfs_compressed_aops = ' fs/ntfs/aops.c:1682: warning: cannot understand function prototype: 'const struct address_space_operations ntfs_mst_aops = '
--- fs/ntfs/aops.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
fs/ntfs/aops.c +4 -4
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0-or-later -/** +/* * aops.c - NTFS kernel address space operations and page cache handling. * * Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc.
@@ -1643,7 +1643,7 @@ static sector_t ntfs_bmap(struct address_space *mapping, sector_t block)return block; } -/** +/* * ntfs_normal_aops - address space operations for normal inodes and attributes * * Note these are not used for compressed or mst protected inodes and
@@ -1661,7 +1661,7 @@ const struct address_space_operations ntfs_normal_aops = { .error_remove_page = generic_error_remove_page, }; -/** +/* * ntfs_compressed_aops - address space operations for compressed inodes */ const struct address_space_operations ntfs_compressed_aops = {
@@ -1675,7 +1675,7 @@ const struct address_space_operations ntfs_compressed_aops = { .error_remove_page = generic_error_remove_page, }; -/** +/* * ntfs_mst_aops - general address space operations for mst protecteed inodes * and attributes */
Signature · 1 line
2.31.1
PATCH 11/15 fs: ntfs: super: Provide missing description and demote non-conformant headers
In reply to Lee JonesFixes 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:
--- fs/ntfs/super.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
fs/ntfs/super.c +3 -2
@@ -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 = {
Signature · 1 line
2.31.1
PATCH 12/15 fs: ntfs: file: Provide missing descriptions for 'start' and 'end'
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
fs/ntfs/file.c:1969: warning: Function parameter or member 'start' not described in 'ntfs_file_fsync' fs/ntfs/file.c:1969: warning: Function parameter or member 'end' not described in 'ntfs_file_fsync'
--- fs/ntfs/file.c | 2 ++ 1 file changed, 2 insertions(+)
fs/ntfs/file.c +2 -0
@@ -1943,6 +1943,8 @@ static ssize_t ntfs_file_write_iter(struct kiocb *iocb, struct iov_iter *from)/** * ntfs_file_fsync - sync a file to disk * @filp: file to be synced +* @start: offset in bytes where the range starts +* @end: offset in bytes where the range ends (inclusive) * @datasync: if non-zero only flush user data and not metadata * * Data integrity sync of a file to disk. Used for fsync, fdatasync, and msync
Signature · 1 line
2.31.1
PATCH 13/15 fs: ntfs: mft: File headers to not make good candidates for kernel-doc
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
fs/ntfs/mft.c:24: warning: expecting prototype for c(). Prototype was for MAX_BHS() instead
--- fs/ntfs/mft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ntfs/mft.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0-or-later -/** +/* * mft.c - NTFS kernel mft record operations. Part of the Linux-NTFS project. * * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc.
Signature · 1 line
2.31.1
PATCH 14/15 fs: ntfs: compress: File headers are not good candidates for kernel-doc
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
fs/ntfs/compress.c:24: warning: cannot understand function prototype: 'typedef enum ' fs/ntfs/compress.c:24: warning: cannot understand function prototype: 'typedef enum ' fs/ntfs/compress.c:24: warning: cannot understand function prototype: 'typedef enum ' fs/ntfs/compress.c:24: warning: cannot understand function prototype: 'typedef enum ' fs/ntfs/compress.c:24: warning: cannot understand function prototype: 'typedef enum '
--- fs/ntfs/compress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ntfs/compress.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0-or-later -/** +/* * compress.c - NTFS kernel compressed attributes handling. * Part of the Linux-NTFS project. *
Signature · 1 line
2.31.1
PATCH 15/15 fs: ntfs: runlist: File headers are not good candidates for kernel-doc
In reply to Lee JonesFixes the following W=1 kernel build warning(s):
fs/ntfs/runlist.c:22: warning: Function parameter or member 'base' not described in 'ntfs_rl_mm' fs/ntfs/runlist.c:22: warning: Function parameter or member 'dst' not described in 'ntfs_rl_mm' fs/ntfs/runlist.c:22: warning: Function parameter or member 'src' not described in 'ntfs_rl_mm' fs/ntfs/runlist.c:22: warning: Function parameter or member 'size' not described in 'ntfs_rl_mm'
--- fs/ntfs/runlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ntfs/runlist.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0-or-later -/** +/* * runlist.c - NTFS runlist handling code. Part of the Linux-NTFS project. * * Copyright (c) 2001-2007 Anton Altaparmakov
Signature · 1 line
2.31.1