linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] fs/nsfs.c: Fix 'ns_common' kernel-doc warning in nsfs.c
@ 2020-09-18 12:38 Wang Hai
  0 siblings, 0 replies; only message in thread
From: Wang Hai @ 2020-09-18 12:38 UTC (permalink / raw)
  To: viro; +Cc: linux-fsdevel, linux-kernel

Fixes the following W=1 kernel build warning(s):

fs/nsfs.c:264: warning: Excess function parameter 'ns_common' description in 'ns_match'

Rename ns_common to ns.

Signed-off-by: Wang Hai <wanghai38@huawei.com>
---
 fs/nsfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/nsfs.c b/fs/nsfs.c
index 800c1d0eb0d0..fffc5206a23a 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 ns
  * @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:[~2020-09-18 12:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-18 12:38 [PATCH -next] fs/nsfs.c: Fix 'ns_common' kernel-doc warning in nsfs.c Wang Hai

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).