* [PATCH net-next] net: rtnetlink: fix typos in comments
@ 2025-09-13 10:57 Alok Tiwari
2025-09-15 10:49 ` Simon Horman
2025-09-16 1:33 ` Jakub Kicinski
0 siblings, 2 replies; 3+ messages in thread
From: Alok Tiwari @ 2025-09-13 10:57 UTC (permalink / raw)
To: kuniyu, sdf, davem, edumazet, kuba, pabeni, horms, netdev; +Cc: alok.a.tiwari
- Corrected "rtnl_unregster()" -> "rtnl_unregister()" in the
documentation comment of "rtnl_unregister_all()"
- Fixed typo "bugwards compatibility" -> "backwards compatibility"
Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
---
net/core/rtnetlink.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index 094b085cff20..37a9594c8144 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)
@@ -1096,7 +1096,7 @@ static unsigned int rtnl_dev_combine_flags(const struct net_device *dev,
{
unsigned int flags = ifm->ifi_flags;
- /* bugwards compatibility: ifi_change == 0 is treated as ~0 */
+ /* backwards compatibility: ifi_change == 0 is treated as ~0 */
if (ifm->ifi_change)
flags = (flags & ifm->ifi_change) |
(rtnl_dev_get_flags(dev) & ~ifm->ifi_change);
--
2.50.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: rtnetlink: fix typos in comments
2025-09-13 10:57 [PATCH net-next] net: rtnetlink: fix typos in comments Alok Tiwari
@ 2025-09-15 10:49 ` Simon Horman
2025-09-16 1:33 ` Jakub Kicinski
1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2025-09-15 10:49 UTC (permalink / raw)
To: Alok Tiwari; +Cc: kuniyu, sdf, davem, edumazet, kuba, pabeni, netdev
On Sat, Sep 13, 2025 at 03:57:26AM -0700, Alok Tiwari wrote:
> - Corrected "rtnl_unregster()" -> "rtnl_unregister()" in the
> documentation comment of "rtnl_unregister_all()"
> - Fixed typo "bugwards compatibility" -> "backwards compatibility"
>
> Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: Simon Horman <horms@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: rtnetlink: fix typos in comments
2025-09-13 10:57 [PATCH net-next] net: rtnetlink: fix typos in comments Alok Tiwari
2025-09-15 10:49 ` Simon Horman
@ 2025-09-16 1:33 ` Jakub Kicinski
1 sibling, 0 replies; 3+ messages in thread
From: Jakub Kicinski @ 2025-09-16 1:33 UTC (permalink / raw)
To: Alok Tiwari; +Cc: kuniyu, sdf, davem, edumazet, pabeni, horms, netdev
On Sat, 13 Sep 2025 03:57:26 -0700 Alok Tiwari wrote:
> - Fixed typo "bugwards compatibility" -> "backwards compatibility"
This is an intentional portmanteau. It means something which was
initially introduced unintentionally (bug) but we need to maintain
it due to backwards compatibility.
--
pw-bot: cr
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-09-16 1:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-13 10:57 [PATCH net-next] net: rtnetlink: fix typos in comments Alok Tiwari
2025-09-15 10:49 ` Simon Horman
2025-09-16 1:33 ` Jakub Kicinski
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).