All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net/9p: correct the variable name in v9fs_get_trans_by_name() comment
@ 2018-05-05  3:29 Sun Lianwen
  2018-05-08  3:38 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Sun Lianwen @ 2018-05-05  3:29 UTC (permalink / raw)
  To: davem; +Cc: netdev

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

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net/9p: correct the variable name in v9fs_get_trans_by_name() comment
  2018-05-05  3:29 [PATCH] net/9p: correct the variable name in v9fs_get_trans_by_name() comment Sun Lianwen
@ 2018-05-08  3:38 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2018-05-08  3:38 UTC (permalink / raw)
  To: sunlw.fnst; +Cc: netdev

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-08  3:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-05  3:29 [PATCH] net/9p: correct the variable name in v9fs_get_trans_by_name() comment Sun Lianwen
2018-05-08  3:38 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.