fat (exportfs): Fix some kernel-doc warnings
PATCH 1/1 fat (exportfs): Fix some kernel-doc warnings
Fixes the following W=1 kernel build warning(s):
fs/fat/nfs.c:21: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst fs/fat/nfs.c:139: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
Signed-off-by Bo Liu <[email protected]>
--- fs/fat/nfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
fs/fat/nfs.c +2 -2
@@ -17,7 +17,7 @@ struct fat_fid {#define FAT_FID_SIZE_WITHOUT_PARENT 3#define FAT_FID_SIZE_WITH_PARENT (sizeof(struct fat_fid)/sizeof(u32)) -/** +/* * Look up a directory inode given its starting cluster. */ static struct inode *fat_dget (struct super_block *sb,int i_logstart)
@@ -135,7 +135,7 @@ fat_encode_fh_nostale(struct inode *inode, __u32 *fh, int *lenp,return type; } -/** +/* * Map a NFS file handle to a corresponding dentry. * The dentry may or may not be connected to the filesystem root. */
Signature · 1 line
2.27.0
Quoted 5 lines · Bo Liu
Fixes the following W=1 kernel build warning(s):
fs/fat/nfs.c:21: warning: This comment starts with '/**', but isn't a kernel-doc comment. ReferDocumentation/doc-guide/kernel-doc.rstfs/fat/nfs.c:139: warning: This comment starts with '/**', but isn't a kernel-doc comment. ReferDocumentation/doc-guide/kernel-doc.rstSigned-off-by Bo Liu <[email protected]>
Looks good.
Acked-by OGAWA Hirofumi <[email protected]>
Quoted 26 lines
--- fs/fat/nfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)fs/fat/nfs.c +2
-2@@ -17,7 +17,7 @@ struct fat_fid {#define FAT_FID_SIZE_WITHOUT_PARENT 3#define FAT_FID_SIZE_WITH_PARENT (sizeof(struct fat_fid)/sizeof(u32)) -/** +/* * Look up a directory inode given its starting cluster. */ static struct inode *fat_dget (struct super_block *sb,int i_logstart)@@ -135,7 +135,7 @@ fat_encode_fh_nostale(struct inode *inode, __u32 *fh, int *lenp,return type; } -/** +/* * Map a NFS file handle to a corresponding dentry. * The dentry may or may not be connected to the filesystem root. */
Signature · 1 line
OGAWA Hirofumi <[email protected]>