Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fuse: fix all W=1 kernel-doc warnings

Use correct function name in kernel-doc notation. (1)
Don't use "/**" to begin non-kernel-doc comments. (3)

Fixes these warnings:

fs/fuse/cuse.c:272: warning: expecting prototype for cuse_parse_dev_info(). Prototype was for cuse_parse_devinfo() instead
fs/fuse/dev.c:212: warning: expecting prototype for A new request is available, wake fiq(). Prototype was for fuse_dev_wake_and_unlock() instead
fs/fuse/dir.c:149: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* Mark the attributes as stale due to an atime change. Avoid the invalidate if
fs/fuse/file.c:656: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* In case of short read, the caller sets 'pos' to the position of

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>

authored by

Randy Dunlap and committed by
Miklos Szeredi
06bbb761 5a8bee63

+4 -4
+1 -1
fs/fuse/cuse.c
··· 256 256 } 257 257 258 258 /** 259 - * cuse_parse_dev_info - parse device info 259 + * cuse_parse_devinfo - parse device info 260 260 * @p: device info string 261 261 * @len: length of device info string 262 262 * @devinfo: out parameter for parsed device info
+1 -1
fs/fuse/dev.c
··· 204 204 return hash_long(unique & ~FUSE_INT_REQ_BIT, FUSE_PQ_HASH_BITS); 205 205 } 206 206 207 - /** 207 + /* 208 208 * A new request is available, wake fiq->waitq 209 209 */ 210 210 static void fuse_dev_wake_and_unlock(struct fuse_iqueue *fiq)
+1 -1
fs/fuse/dir.c
··· 145 145 inode_maybe_inc_iversion(dir, false); 146 146 } 147 147 148 - /** 148 + /* 149 149 * Mark the attributes as stale due to an atime change. Avoid the invalidate if 150 150 * atime is not used. 151 151 */
+1 -1
fs/fuse/file.c
··· 689 689 return io->bytes < 0 ? io->size : io->bytes; 690 690 } 691 691 692 - /** 692 + /* 693 693 * In case of short read, the caller sets 'pos' to the position of 694 694 * actual end of fuse request in IO request. Otherwise, if bytes_requested 695 695 * == bytes_transferred or rw == WRITE, the caller sets 'pos' to -1.