* [PATCH] Documentation: warning fix
@ 2025-08-20 12:27 Pavan Bobba
2025-08-20 12:39 ` Matthew Wilcox
0 siblings, 1 reply; 2+ messages in thread
From: Pavan Bobba @ 2025-08-20 12:27 UTC (permalink / raw)
To: viro, brauner, jack; +Cc: linux-fsdevel, linux-kernel, Pavan Bobba
This fix is to mitigate below warning while generating documentation
WARNING: ./include/linux/fs.h:3287 function parameter 'name' not described in 'name_contains_dotdot'
Signed-off-by: Pavan Bobba <opensource206@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 d7ab4f96d705..1c87f9861ce2 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 name to check
* Search for ".." surrounded by either '/' or start/end of string.
*/
static inline bool name_contains_dotdot(const char *name)
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-08-20 12:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-20 12:27 [PATCH] Documentation: warning fix Pavan Bobba
2025-08-20 12:39 ` Matthew Wilcox
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.