net: bonding: Correct function name bond_change_active_slave() in comment
Subsystems (3)
PATCH 1/1 net: bonding: Correct function name bond_change_active_slave() in comment
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
--- drivers/net/bonding/bond_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/bonding/bond_main.c +1 -1
@@ -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 *
Signature · 1 line
2.25.1
This patch was applied to netdev/net-next.git (refs/heads/master):
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
Quoted 8 lines · 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 forchange_active_interface(). Prototype was forbond_change_active_slave()insteadReported-by Hulk Robot <[email protected]>Signed-off-by Yang Yingliang <[email protected]>[...]
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