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
Subject: Re: [PATCH] net: fix register_netdev description
Date: Sun, 6 Oct 2024 21:05:52 +0300 [thread overview]
Message-ID: <34f7eda9-e4e2-49e7-af88-82c377c8c7f7@gmail.com> (raw)
In-Reply-To: <20241006165712.15619-1-insafonov@gmail.com>
Please do not apply this.
On 10/6/24 19:57, Ivan Safonov wrote:
> register_netdev() does not expands the device name.
>
> Signed-off-by: Ivan Safonov <insafonov@gmail.com>
> ---
> net/core/dev.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/net/core/dev.c b/net/core/dev.c
> index cd479f5f22f6..06b13eef3628 100644
> --- a/net/core/dev.c
> +++ b/net/core/dev.c
> @@ -10611,10 +10611,10 @@ 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)
> {
> int err;
prev parent reply other threads:[~2024-10-06 18:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-06 16:57 [PATCH] net: fix register_netdev description Ivan Safonov
2024-10-06 18:05 ` Ivan Safonov [this message]
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=34f7eda9-e4e2-49e7-af88-82c377c8c7f7@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