[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191009012630.GA106292@basementcat>
Date: Wed, 9 Oct 2019 10:26:30 +0900
From: Christopher KOBAYASHI <chris@...avowed.jp>
To: netdev@...r.kernel.org
Cc: trivial@...nel.org
Subject: [PATCH] net/appletalk: restore success case for atalk_proc_init()
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@...avowed.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;
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists