public inbox for linux-kernel-mentees@lists.linux-foundation.org
 help / color / mirror / Atom feed
* [PATCH] fs: document 'name' parameter for name_contains_dotdot()
@ 2025-07-30 20:18 Kriish Sharma
  2025-07-31 11:11 ` Jan Kara
  2025-07-31 11:23 ` Christian Brauner
  0 siblings, 2 replies; 3+ messages in thread
From: Kriish Sharma @ 2025-07-30 20:18 UTC (permalink / raw)
  To: skhan, linux-fsdevel, viro, brauner, jack
  Cc: linux-kernel, linux-kernel-mentees, 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 <kriish.sharma2006@gmail.com>
---
 include/linux/fs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/fs.h b/include/linux/fs.h
index 2ec4807d4ea8..d7d311b99438 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -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)
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-07-31 11:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-30 20:18 [PATCH] fs: document 'name' parameter for name_contains_dotdot() Kriish Sharma
2025-07-31 11:11 ` Jan Kara
2025-07-31 11:23 ` Christian Brauner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox