fs: document 'name' parameter for name_contains_dotdot()
PATCH 1/1 fs: document 'name' parameter for name_contains_dotdot()
The kernel-doc for name_contains_dotdot() was missing the @name parameter description, leading to a warning during make htmldocs.
Add the missing documentation to resolve this warning.
--- include/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/fs.h +1 -1
@@ -3279,7 +3279,7 @@ static inline bool is_dot_dotdot(const char *name, size_t len)/** * name_contains_dotdot - check if a file name contains ".." path components -* +* @name: File path string to check * Search for ".." surrounded by either '/' or start/end of string. */ static inline bool name_contains_dotdot (const char *name)
Signature · 1 line
2.34.1
Quoted 6 lines · Kriish Sharma
The kernel-doc for
name_contains_dotdot()was missing the @name parameter description, leading to a warning during make htmldocs.Add the missing documentation to resolve this warning.
Signed-off-by Kriish Sharma <[email protected]>
Sure. Feel free to add:
Honza
Quoted 20 lines
--- include/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/linux/fs.h +1
-1@@ -3279,7 +3279,7 @@ static inline bool is_dot_dotdot(const char *name, size_t len)/** * name_contains_dotdot - check if a file name contains ".." path components -* +* @name: File path string to check * Search for ".." surrounded by either '/' or start/end of string. */ static inline bool name_contains_dotdot (const char *name)Signature · 1 line
2.34.1
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR
Quoted 6 lines · Kriish Sharma
The kernel-doc for
name_contains_dotdot()was missing the @name parameter description, leading to a warning during make htmldocs.Add the missing documentation to resolve this warning.
Applied to the vfs-6.18.misc branch of the vfs/vfs.git tree. Patches in the vfs-6.18.misc 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.18.misc
[1/1] fs: document 'name' parameter for name_contains_dotdot()
https://git.kernel.org/vfs/vfs/c/a2e446e55e59