Skip to contentSkip to conversation

rtnetlink: Fix kdoc of rtnl_af_register().

PATCH Applied Kuniyuki Iwashima 3 participants 3 messages Oct 22, 2024 – Oct 29, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtnetlink: Fix kdoc of rtnl_af_register().

The cited commit made rtnl_af_register() return int again, and kdoc needs to be fixed up.

Fixes 26eebdc4b005 ("rtnetlink: Return int from rtnl_af_register().")
---
 net/core/rtnetlink.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/core/rtnetlink.c +1 -1
index dda8230fdfd4..b70f90b98714 100644
@@ -708,7 +708,7 @@ static void rtnl_af_put(struct rtnl_af_ops *ops, int srcu_index)
  * rtnl_af_register - Register rtnl_af_ops with rtnetlink.
  * @ops: struct rtnl_af_ops * to register
  *
- * Returns 0 on success or a negative error code.
+ * Return: 0 on success or a negative error code.
  */
 int rtnl_af_register(struct rtnl_af_ops *ops)
 {
Signature · 1 line
2.39.5 (Apple Git-154)
#2 lore raw
In reply to Kuniyuki Iwashima
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Tue, 22 Oct 2024 14:03:20 -0700 you wrote:

The cited commit made rtnl_af_register() return int again, and kdoc needs to be fixed up.

Fixes 26eebdc4b005 ("rtnetlink: Return int from rtnl_af_register().")
---
 net/core/rtnetlink.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- [v1,net-next] rtnetlink: Fix kdoc of rtnl_af_register().

    https://git.kernel.org/netdev/net-next/c/bdd85ddce5a9

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html