[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250929085418.49200-1-alok.a.tiwari@oracle.com>
Date: Mon, 29 Sep 2025 01:54:12 -0700
From: Alok Tiwari <alok.a.tiwari@...cle.com>
To: kuniyu@...gle.com, sdf@...ichev.me, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
horms@...nel.org, netdev@...r.kernel.org
Cc: alok.a.tiwari@...cle.com
Subject: [PATCH v2 net-next] net: rtnetlink: fix typo in rtnl_unregister_all() comment
Corrected "rtnl_unregster()" -> "rtnl_unregister()" in the
documentation comment of "rtnl_unregister_all()"
Signed-off-by: Alok Tiwari <alok.a.tiwari@...cle.com>
Reviewed-by: Simon Horman <horms@...nel.org>
---
v1 -> v2
Drop change for "bugwards compatibility" as Jakub comment.
Added Reviewed-by: Simon Horman
Rephrase commit subject
https://lore.kernel.org/all/20250913105728.3988422-1-alok.a.tiwari@oracle.com/
---
net/core/rtnetlink.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index d9e68ca84926..8040ff7c356e 100644
--- a/net/core/rtnetlink.c
+++ b/net/core/rtnetlink.c
@@ -478,7 +478,7 @@ static int rtnl_unregister(int protocol, int msgtype)
* rtnl_unregister_all - Unregister all rtnetlink message type of a protocol
* @protocol : Protocol family or PF_UNSPEC
*
- * Identical to calling rtnl_unregster() for all registered message types
+ * Identical to calling rtnl_unregister() for all registered message types
* of a certain protocol family.
*/
void rtnl_unregister_all(int protocol)
--
2.50.1
Powered by blists - more mailing lists