Skip to contentSkip to conversation

Documentation: warning fix

PATCH In review Pavan Bobba 2 participants 2 messages Aug 20, 2025 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: warning fix

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'
---
 include/linux/fs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/fs.h +1 -1
index d7ab4f96d705..1c87f9861ce2 100644
@@ -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)
Signature · 1 line
2.43.0