Commit 38b4da38 authored by Borislav Petkov's avatar Borislav Petkov Committed by David S. Miller

[NET]: Fix comments for register_netdev().

Correct the function name in the comments supplied with
register_netdev()
Signed-off-by: default avatarBorislav Petkov <bbpetkov@yahoo.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b450777a
...@@ -3130,7 +3130,7 @@ int register_netdevice(struct net_device *dev) ...@@ -3130,7 +3130,7 @@ int register_netdevice(struct net_device *dev)
* chain. 0 is returned on success. A negative errno code is returned * 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. * on a failure to set up the device, or if the name is a duplicate.
* *
* This is a wrapper around register_netdev that takes the rtnl semaphore * This is a wrapper around register_netdevice that takes the rtnl semaphore
* and expands the device name if you passed a format string to * and expands the device name if you passed a format string to
* alloc_netdev. * alloc_netdev.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment