* [PATCH] net: fix register_netdev description
@ 2024-10-06 16:57 Ivan Safonov
2024-10-06 18:05 ` Ivan Safonov
0 siblings, 1 reply; 2+ messages in thread
From: Ivan Safonov @ 2024-10-06 16:57 UTC (permalink / raw)
To: David S. Miller
Cc: Eric Dumazet, Jakub Kicinski, Paolo Abeni, Jiri Pirko,
Sebastian Andrzej Siewior, Lorenzo Bianconi, netdev, linux-kernel,
Ivan Safonov
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;
--
2.44.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net: fix register_netdev description
2024-10-06 16:57 [PATCH] net: fix register_netdev description Ivan Safonov
@ 2024-10-06 18:05 ` Ivan Safonov
0 siblings, 0 replies; 2+ messages in thread
From: Ivan Safonov @ 2024-10-06 18:05 UTC (permalink / raw)
To: David S. Miller
Cc: Eric Dumazet, Jakub Kicinski, Paolo Abeni, Jiri Pirko,
Sebastian Andrzej Siewior, Lorenzo Bianconi, netdev, linux-kernel
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;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-06 18:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-06 16:57 [PATCH] net: fix register_netdev description Ivan Safonov
2024-10-06 18:05 ` Ivan Safonov
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).