From: Kriish Sharma Date: Wed, 30 Jul 2025 20:18:53 +0000 (+0000) Subject: fs: document 'name' parameter for name_contains_dotdot() X-Git-Tag: v6.18-rc1~242^2~30 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4e021920812d164bb02c30cc40e08a3681b1c755;p=thirdparty%2Fkernel%2Fstable.git 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. Signed-off-by: Kriish Sharma Link: https://lore.kernel.org/20250730201853.8436-1-kriish.sharma2006@gmail.com Reviewed-by: Jan Kara Signed-off-by: Christian Brauner --- diff --git a/include/linux/fs.h b/include/linux/fs.h index 796319914b0a0..780e9c774c549 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -3281,7 +3281,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)