Skip to content

Commit 06bbb76

Browse files
rddunlapMiklos Szeredi
authored andcommitted
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 <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
1 parent 5a8bee6 commit 06bbb76

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

fs/fuse/cuse.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ static int cuse_parse_one(char **pp, char *end, char **keyp, char **valp)
256256
}
257257

258258
/**
259-
* cuse_parse_dev_info - parse device info
259+
* cuse_parse_devinfo - parse device info
260260
* @p: device info string
261261
* @len: length of device info string
262262
* @devinfo: out parameter for parsed device info

fs/fuse/dev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ static unsigned int fuse_req_hash(u64 unique)
204204
return hash_long(unique & ~FUSE_INT_REQ_BIT, FUSE_PQ_HASH_BITS);
205205
}
206206

207-
/**
207+
/*
208208
* A new request is available, wake fiq->waitq
209209
*/
210210
static void fuse_dev_wake_and_unlock(struct fuse_iqueue *fiq)

fs/fuse/dir.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ static void fuse_dir_changed(struct inode *dir)
145145
inode_maybe_inc_iversion(dir, false);
146146
}
147147

148-
/**
148+
/*
149149
* Mark the attributes as stale due to an atime change. Avoid the invalidate if
150150
* atime is not used.
151151
*/

fs/fuse/file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ static ssize_t fuse_get_res_by_io(struct fuse_io_priv *io)
689689
return io->bytes < 0 ? io->size : io->bytes;
690690
}
691691

692-
/**
692+
/*
693693
* In case of short read, the caller sets 'pos' to the position of
694694
* actual end of fuse request in IO request. Otherwise, if bytes_requested
695695
* == bytes_transferred or rw == WRITE, the caller sets 'pos' to -1.

0 commit comments

Comments
 (0)