* [PATCH] nsfs: repair kernel-doc for ns_match()
@ 2022-11-07 11:08 Lukas Bulwahn
0 siblings, 0 replies; only message in thread
From: Lukas Bulwahn @ 2022-11-07 11:08 UTC (permalink / raw)
To: Alexander Viro, linux-fsdevel
Cc: kernel-janitors, linux-kernel, Lukas Bulwahn
Commit 1e2328e76254 ("fs/nsfs.c: Added ns_match") adds the ns_match()
function with a kernel-doc comment, but the ns parameter was referred to
with ns_common.
Hence, ./scripts/kernel-doc -none fs/nsfs.c warns about it.
Adjust the kernel-doc comment for ns_match() for make W=1 happiness.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
fs/nsfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/nsfs.c b/fs/nsfs.c
index 3506f6074288..f5b2a8a2f2c3 100644
--- a/fs/nsfs.c
+++ b/fs/nsfs.c
@@ -254,7 +254,7 @@ struct file *proc_ns_fget(int fd)
/**
* ns_match() - Returns true if current namespace matches dev/ino provided.
- * @ns_common: current ns
+ * @ns: current namespace
* @dev: dev_t from nsfs that will be matched against current nsfs
* @ino: ino_t from nsfs that will be matched against current nsfs
*
--
2.17.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-07 11:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-07 11:08 [PATCH] nsfs: repair kernel-doc for ns_match() Lukas Bulwahn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).