[PATCH -next] net: bonding: Correct function name bond_change_active_slave() in comment

Subsystems: bonding driver, networking drivers, the rest

STALE1956d

2 messages, 2 authors, 2021-03-29 · open the first message on its own page

[PATCH -next] net: bonding: Correct function name bond_change_active_slave() in comment

From: Yang Yingliang <hidden>
Date: 2021-03-29 12:40:49

Fix the following make W=1 kernel build warning:

 drivers/net/bonding/bond_main.c:982: warning: expecting prototype for change_active_interface(). Prototype was for bond_change_active_slave() instead

Reported-by: Hulk Robot <redacted>
Signed-off-by: Yang Yingliang <redacted>
---
 drivers/net/bonding/bond_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 74cbbb22470b..d5ca38aa8aa9 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -964,7 +964,7 @@ static bool bond_should_notify_peers(struct bonding *bond)
 }
 
 /**
- * change_active_interface - change the active slave into the specified one
+ * bond_change_active_slave - change the active slave into the specified one
  * @bond: our bonding struct
  * @new_active: the new slave to make the active one
  *
-- 
2.25.1

Re: [PATCH -next] net: bonding: Correct function name bond_change_active_slave() in comment

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-03-29 20:50:48

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Mon, 29 Mar 2021 20:42:57 +0800 you wrote:
Fix the following make W=1 kernel build warning:

 drivers/net/bonding/bond_main.c:982: warning: expecting prototype for change_active_interface(). Prototype was for bond_change_active_slave() instead

Reported-by: Hulk Robot <redacted>
Signed-off-by: Yang Yingliang <redacted>

[...]
Here is the summary with links:
  - [-next] net: bonding: Correct function name bond_change_active_slave() in comment
    https://git.kernel.org/netdev/net-next/c/acf61b3d84cc

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