lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250819164822.15518-1-adelodunolaoluwa@yahoo.com>
Date: Tue, 19 Aug 2025 17:48:22 +0100
From: Sunday Adelodun <adelodunolaoluwa@...oo.com>
To: viro@...iv.linux.org.uk,
	brauner@...nel.org
Cc: jack@...e.cz,
	linux-fsdevel@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Sunday Adelodun <adelodunolaoluwa@...oo.com>
Subject: [PATCH] fs: Add missing parameter docs for name_contains_dotdot()

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@...oo.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
+ *@...e: the file name or path to check
  *
  * Search for ".." surrounded by either '/' or start/end of string.
  */
-- 
2.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ