From: Ivan Safonov <insafonov@gmail.com>
To: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Jiri Pirko <jiri@resnulli.us>,
Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
Lorenzo Bianconi <lorenzo@kernel.org>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
Ivan Safonov <insafonov@gmail.com>
Subject: [PATCH v2] net: fix register_netdev description
Date: Sun, 6 Oct 2024 20:57:20 +0300 [thread overview]
Message-ID: <20241006175718.17889-3-insafonov@gmail.com> (raw)
register_netdev() does not expands the device name.
Signed-off-by: Ivan Safonov <insafonov@gmail.com>
---
v2: Remove excessive blank line
net/core/dev.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/net/core/dev.c b/net/core/dev.c
index cd479f5f22f6..861dbd6e46e8 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -10611,9 +10611,8 @@ EXPORT_SYMBOL_GPL(init_dummy_netdev);
* chain. 0 is returned on success. A negative errno code is returned
* on a failure to set up the device, or if the name is a duplicate.
*
- * This is a wrapper around register_netdevice that takes the rtnl semaphore
- * and expands the device name if you passed a format string to
- * alloc_netdev.
+ * This is a wrapper around register_netdevice that takes
+ * the rtnl semaphore.
*/
int register_netdev(struct net_device *dev)
{
--
2.44.2
next reply other threads:[~2024-10-06 18:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-06 17:57 Ivan Safonov [this message]
2024-10-06 21:16 ` Andrew Lunn
2024-10-06 22:00 ` Ivan Safonov
2024-10-06 22:48 ` Andrew Lunn
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=20241006175718.17889-3-insafonov@gmail.com \
--to=insafonov@gmail.com \
--cc=bigeasy@linutronix.de \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lorenzo@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/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
all inboxes | Powered by JetHome®