diff mbox series

net/9p: correct the variable name in v9fs_get_trans_by_name() comment

Message ID 20180505032916.6069-1-sunlw.fnst@cn.fujitsu.com
State Accepted, archived
Delegated to: David Miller
Headers show
Series net/9p: correct the variable name in v9fs_get_trans_by_name() comment | expand

Commit Message

Sun Lianwen May 5, 2018, 3:29 a.m. UTC
The v9fs_get_trans_by_name(char *s) variable name is not "name" but "s".

Signed-off-by: Sun Lianwen <sunlw.fnst@cn.fujitsu.com>
---
 net/9p/mod.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Miller May 8, 2018, 3:38 a.m. UTC | #1
From: Sun Lianwen <sunlw.fnst@cn.fujitsu.com>
Date: Sat, 5 May 2018 11:29:16 +0800

> The v9fs_get_trans_by_name(char *s) variable name is not "name" but "s".
> 
> Signed-off-by: Sun Lianwen <sunlw.fnst@cn.fujitsu.com>

Applied.
diff mbox series

Patch

diff --git a/net/9p/mod.c b/net/9p/mod.c
index 6ab36aea7727..eb9777f05755 100644
--- a/net/9p/mod.c
+++ b/net/9p/mod.c
@@ -104,7 +104,7 @@  EXPORT_SYMBOL(v9fs_unregister_trans);
 
 /**
  * v9fs_get_trans_by_name - get transport with the matching name
- * @name: string identifying transport
+ * @s: string identifying transport
  *
  */
 struct p9_trans_module *v9fs_get_trans_by_name(char *s)