filelock: __fcntl_getlease: fix kernel-doc warnings
Subsystems (2)
PATCH 1/1 filelock: __fcntl_getlease: fix kernel-doc warnings
Use the correct function name and add description for the @flavor parameter to avoid these kernel-doc warnings:
Warning: fs/locks.c:1706 function parameter 'flavor' not described in
'__fcntl_getlease'
WARNING: fs/locks.c:1706 expecting prototype for fcntl_getlease(). Prototype was for __fcntl_getlease() instead
---
Feel free to correct (or tell me) a better description for @flavor.
--- fs/locks.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
fs/locks.c +2 -1
@@ -1681,8 +1681,9 @@ void lease_get_mtime(struct inode *inodeEXPORT_SYMBOL (lease_get_mtime);/** -* fcntl_getlease - Enquire what lease is currently active +* __fcntl_getlease - Enquire what lease is currently active * @filp: the file +* @flavor: type of lease flags to check * * The value returned by this function will be one of * (if no lease break is pending):
Quoted 9 lines · Randy Dunlap
Use the correct function name and add description for the @flavor parameter to avoid these kernel-doc warnings:
Warning:
fs/locks.c:1706function parameter 'flavor' not described in
'__fcntl_getlease'WARNING: fs/locks.c:1706 expecting prototype for fcntl_getlease(). Prototype was for __fcntl_getlease() instead[...]
Applied to the vfs-6.19.directory.delegations branch of the vfs/vfs.git tree. Patches in the vfs-6.19.directory.delegations branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs-6.19.directory.delegations
[1/1] filelock: __fcntl_getlease: fix kernel-doc warnings
https://git.kernel.org/vfs/vfs/c/01c9c30aae31