From: Sergey Ryazanov <ryazanov.s.a@gmail.com>
To: Johannes Berg <johannes@sipsolutions.net>,
Loic Poulain <loic.poulain@linaro.org>
Cc: M Chetan Kumar <m.chetan.kumar@intel.com>,
linux-wireless@vger.kernel.org, netdev@vger.kernel.org
Subject: [RFC 2/6] wwan: fix module initialization
Date: Thu, 3 Jun 2021 07:49:50 +0300 [thread overview]
Message-ID: <20210603044954.8091-3-ryazanov.s.a@gmail.com> (raw)
In-Reply-To: <20210603044954.8091-1-ryazanov.s.a@gmail.com>
Recover the successful return from the module initialization function
that was accidentally lost during the netdev creation support
integration.
Fixes: ???? ("wwan: add interface creation support")
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
---
drivers/net/wwan/wwan_core.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wwan/wwan_core.c b/drivers/net/wwan/wwan_core.c
index e2490c73ac33..32b2096c5036 100644
--- a/drivers/net/wwan/wwan_core.c
+++ b/drivers/net/wwan/wwan_core.c
@@ -737,7 +737,8 @@ static int __init wwan_init(void)
goto destroy;
}
- err = 0;
+ return 0;
+
destroy:
class_destroy(wwan_class);
unregister:
--
2.26.3
next prev parent reply other threads:[~2021-06-03 4:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-03 4:49 [RFC 0/6] WWAN netdev creation framework tweaks Sergey Ryazanov
2021-06-03 4:49 ` [RFC 1/6] rtnetlink: fix alloc() method introduction Sergey Ryazanov
2021-06-03 4:49 ` Sergey Ryazanov [this message]
2021-06-03 4:49 ` [RFC 3/6] rtnetlink: fill IFLA_PARENT_DEV_NAME on link dump Sergey Ryazanov
2021-06-03 4:49 ` [RFC 4/6 iproute2] Update kernel headers Sergey Ryazanov
2021-06-03 4:49 ` [RFC 5/6 iproute2] iplink: add support for parent device Sergey Ryazanov
2021-06-03 4:49 ` [RFC 6/6 iproute2] iplink: support for WWAN devices Sergey Ryazanov
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=20210603044954.8091-3-ryazanov.s.a@gmail.com \
--to=ryazanov.s.a@gmail.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=loic.poulain@linaro.org \
--cc=m.chetan.kumar@intel.com \
--cc=netdev@vger.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 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.