netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] appletalk: Fix atalk_proc_init return path
@ 2020-07-22 11:37 Vincent Duvert
  2020-07-22 11:37 ` [PATCH 2/2] appletalk: Improve handling of broadcast packets Vincent Duvert
  2020-07-23  0:30 ` [PATCH 1/2] appletalk: Fix atalk_proc_init return path David Miller
  0 siblings, 2 replies; 4+ messages in thread
From: Vincent Duvert @ 2020-07-22 11:37 UTC (permalink / raw)
  To: netdev; +Cc: Vincent Duvert

Add a missing return statement to atalk_proc_init so it doesn't return
-ENOMEM when successful. This allows the appletalk module to load
properly.

Signed-off-by: Vincent Duvert <vincent.ldev@duvert.net>
---
 net/appletalk/atalk_proc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net/appletalk/atalk_proc.c b/net/appletalk/atalk_proc.c
index 550c6ca007cc..9c1241292d1d 100644
--- a/net/appletalk/atalk_proc.c
+++ b/net/appletalk/atalk_proc.c
@@ -229,6 +229,8 @@ int __init atalk_proc_init(void)
 				     sizeof(struct aarp_iter_state), NULL))
 		goto out;
 
+	return 0;
+
 out:
 	remove_proc_subtree("atalk", init_net.proc_net);
 	return -ENOMEM;
-- 
2.20.1


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

end of thread, other threads:[~2020-07-23  0:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-22 11:37 [PATCH 1/2] appletalk: Fix atalk_proc_init return path Vincent Duvert
2020-07-22 11:37 ` [PATCH 2/2] appletalk: Improve handling of broadcast packets Vincent Duvert
2020-07-23  0:31   ` David Miller
2020-07-23  0:30 ` [PATCH 1/2] appletalk: Fix atalk_proc_init return path David Miller

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