Skip to content

Commit 823c8fa

Browse files
author
Izabela Bakollari
committed
net: core: Fix documentation
JIRA: https://issues.redhat.com/browse/RHEL-59092 commit c6e7f27 Author: Breno Leitao <leitao@debian.org> Date: Mon Apr 22 05:38:54 2024 -0700 net: core: Fix documentation Fix bad grammar in description of init_dummy_netdev() function. This topic showed up in the review of the "allocate dummy device dynamically" patch set. Suggested-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Breno Leitao <leitao@debian.org> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Izabela Bakollari <ibakolla@redhat.com>
1 parent d7a6d4c commit 823c8fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

net/core/dev.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10153,7 +10153,7 @@ EXPORT_SYMBOL(register_netdevice);
1015310153
* init_dummy_netdev - init a dummy network device for NAPI
1015410154
* @dev: device to init
1015510155
*
10156-
* This takes a network device structure and initialize the minimum
10156+
* This takes a network device structure and initializes the minimum
1015710157
* amount of fields so it can be used to schedule NAPI polls without
1015810158
* registering a full blown interface. This is to be used by drivers
1015910159
* that need to tie several hardware interfaces to a single NAPI
@@ -10162,7 +10162,7 @@ EXPORT_SYMBOL(register_netdevice);
1016210162
void init_dummy_netdev(struct net_device *dev)
1016310163
{
1016410164
/* Clear everything. Note we don't initialize spinlocks
10165-
* are they aren't supposed to be taken by any of the
10165+
* as they aren't supposed to be taken by any of the
1016610166
* NAPI code and this dummy netdev is supposed to be
1016710167
* only ever used for NAPI polls
1016810168
*/

0 commit comments

Comments
 (0)