* [PATCH] fs: Add missing parameter docs for name_contains_dotdot() [not found] <20250819164822.15518-1-adelodunolaoluwa.ref@yahoo.com> @ 2025-08-19 16:48 ` Sunday Adelodun 2025-08-19 17:15 ` Al Viro 0 siblings, 1 reply; 2+ messages in thread From: Sunday Adelodun @ 2025-08-19 16:48 UTC (permalink / raw) To: viro, brauner; +Cc: jack, linux-fsdevel, linux-kernel, Sunday Adelodun Fix kernel-doc warning by adding missing @name parameter description for the name_contains_dotdot() function. Fixes the following warning: WARNING: ./include/linux/fs.h:3287 function parameter 'name' not described in 'name_contains_dotdot' Signed-off-by: Sunday Adelodun <adelodunolaoluwa@yahoo.com> --- include/linux/fs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/fs.h b/include/linux/fs.h index d7ab4f96d705..48a726839e22 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -3281,6 +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: the file name or path to check * * Search for ".." surrounded by either '/' or start/end of string. */ -- 2.43.0 ^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] fs: Add missing parameter docs for name_contains_dotdot() 2025-08-19 16:48 ` [PATCH] fs: Add missing parameter docs for name_contains_dotdot() Sunday Adelodun @ 2025-08-19 17:15 ` Al Viro 0 siblings, 0 replies; 2+ messages in thread From: Al Viro @ 2025-08-19 17:15 UTC (permalink / raw) To: Sunday Adelodun; +Cc: brauner, jack, linux-fsdevel, linux-kernel On Tue, Aug 19, 2025 at 05:48:22PM +0100, Sunday Adelodun wrote: > Fix kernel-doc warning by adding missing @name > parameter description for the name_contains_dotdot() > function. See https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=fs-next&id=4e021920812d164bb02c30cc40e08a3681b1c755 ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-08-19 17:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20250819164822.15518-1-adelodunolaoluwa.ref@yahoo.com>
2025-08-19 16:48 ` [PATCH] fs: Add missing parameter docs for name_contains_dotdot() Sunday Adelodun
2025-08-19 17:15 ` Al Viro
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox