]> www.infradead.org Git - users/hch/misc.git/commitdiff
net: rtnetlink: fix typo in rtnl_unregister_all() comment
authorAlok Tiwari <alok.a.tiwari@oracle.com>
Mon, 29 Sep 2025 08:54:12 +0000 (01:54 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 30 Sep 2025 01:31:08 +0000 (18:31 -0700)
Corrected "rtnl_unregster()" -> "rtnl_unregister()" in the
  documentation comment of "rtnl_unregister_all()"

Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250929085418.49200-1-alok.a.tiwari@oracle.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/rtnetlink.c

index d9e68ca849265bdddafa1c9309bc3be6b3312448..8040ff7c356e4dbd3842332c895524e7ee514655 100644 (file)
@@ -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)