Skip to contentSkip to conversation

nsfs: repair kernel-doc for ns_match()

PATCH New Lukas Bulwahn 1 participant 1 message Nov 7, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nsfs: repair kernel-doc for ns_match()

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.

---
 fs/nsfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/nsfs.c +1 -1
index 3506f6074288..f5b2a8a2f2c3 100644
@@ -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
  *
Signature · 1 line
2.17.1