[PATCH] net: fix typo in a comment

Subsystems: networking drivers, networking [general], the rest

STALE1758d

2 messages, 2 authors, 2021-12-17 · open the first message on its own page

[PATCH] net: fix typo in a comment

From: Xiang wangx <hidden>
Date: 2021-12-16 15:19:51

The double 'as' in a comment is repeated, thus it should be removed.

Signed-off-by: Xiang wangx <redacted>
---
 include/linux/netdevice.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 65117f01d5f2..89d93939063b 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1932,7 +1932,7 @@ enum netdev_ml_priv_type {
  *	@udp_tunnel_nic:	UDP tunnel offload state
  *	@xdp_state:		stores info on attached XDP BPF programs
  *
- *	@nested_level:	Used as as a parameter of spin_lock_nested() of
+ *	@nested_level:	Used as a parameter of spin_lock_nested() of
  *			dev->addr_list_lock.
  *	@unlink_list:	As netif_addr_lock() can be called recursively,
  *			keep a list of interfaces to be deleted.
-- 
2.20.1

Re: [PATCH] net: fix typo in a comment

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-12-17 10:30:16

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:

On Thu, 16 Dec 2021 23:19:16 +0800 you wrote:
The double 'as' in a comment is repeated, thus it should be removed.

Signed-off-by: Xiang wangx <redacted>
---
 include/linux/netdevice.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
  - net: fix typo in a comment
    https://git.kernel.org/netdev/net/c/b62e3317b68d

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help