All of lore.kernel.org
 help / color / mirror / Atom feed
* [trivial] gre: fix goto statement typo
@ 2017-08-23  0:04 William Tu
  2017-08-23  4:29 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: William Tu @ 2017-08-23  0:04 UTC (permalink / raw)
  To: netdev; +Cc: trivial

Fix typo: pnet_tap_faied.

Signed-off-by: William Tu <u9012063@gmail.com>
---
 net/ipv4/ip_gre.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c
index 6e8a62289e03..5a20ba9b9b50 100644
--- a/net/ipv4/ip_gre.c
+++ b/net/ipv4/ip_gre.c
@@ -1467,7 +1467,7 @@ static int __init ipgre_init(void)
 
 	err = register_pernet_device(&ipgre_tap_net_ops);
 	if (err < 0)
-		goto pnet_tap_faied;
+		goto pnet_tap_failed;
 
 	err = register_pernet_device(&erspan_net_ops);
 	if (err < 0)
@@ -1503,7 +1503,7 @@ static int __init ipgre_init(void)
 	unregister_pernet_device(&erspan_net_ops);
 pnet_erspan_failed:
 	unregister_pernet_device(&ipgre_tap_net_ops);
-pnet_tap_faied:
+pnet_tap_failed:
 	unregister_pernet_device(&ipgre_net_ops);
 	return err;
 }
-- 
2.7.4

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

* Re: [trivial] gre: fix goto statement typo
  2017-08-23  0:04 [trivial] gre: fix goto statement typo William Tu
@ 2017-08-23  4:29 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2017-08-23  4:29 UTC (permalink / raw)
  To: u9012063; +Cc: netdev, trivial

From: William Tu <u9012063@gmail.com>
Date: Tue, 22 Aug 2017 17:04:05 -0700

> Fix typo: pnet_tap_faied.
> 
> Signed-off-by: William Tu <u9012063@gmail.com>

Applied to net-next.

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

end of thread, other threads:[~2017-08-23  4:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-23  0:04 [trivial] gre: fix goto statement typo William Tu
2017-08-23  4:29 ` 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.