netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christopher KOBAYASHI <chris@disavowed.jp>
To: netdev@vger.kernel.org
Cc: trivial@kernel.org
Subject: [PATCH] net/appletalk: restore success case for atalk_proc_init()
Date: Wed, 9 Oct 2019 10:26:30 +0900	[thread overview]
Message-ID: <20191009012630.GA106292@basementcat> (raw)

[-- 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 --]

             reply	other threads:[~2019-10-09  1:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-09  1:26 Christopher KOBAYASHI [this message]
2019-10-09  1:57 ` [PATCH] net/appletalk: restore success case for atalk_proc_init() Jakub Kicinski
2020-07-06 11:11   ` [PATCH v2] " Chris
2020-07-06 19:31     ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191009012630.GA106292@basementcat \
    --to=chris@disavowed.jp \
    --cc=netdev@vger.kernel.org \
    --cc=trivial@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).