netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net/appletalk: restore success case for atalk_proc_init()
@ 2019-10-09  1:26 Christopher KOBAYASHI
  2019-10-09  1:57 ` Jakub Kicinski
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher KOBAYASHI @ 2019-10-09  1:26 UTC (permalink / raw)
  To: netdev; +Cc: trivial

[-- Attachment #1: Type: text/plain, Size: 646 bytes --]

Commit e2bcd8b0ce6ee3410665765db0d44dd8b7e3b348 to
net/appletalk/atalk_proc.c removed the success case, rendering
appletalk.ko inoperable.  This one-liner restores correct operation.

Signed-off-by: Christopher KOBAYASHI <chris@disavowed.jp>
---
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;

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2020-07-06 19:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-09  1:26 [PATCH] net/appletalk: restore success case for atalk_proc_init() Christopher KOBAYASHI
2019-10-09  1:57 ` Jakub Kicinski
2020-07-06 11:11   ` [PATCH v2] " Chris
2020-07-06 19:31     ` 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).