diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2021-03-29 14:42:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-29 22:42:44 +0200 |
commit | acf61b3d84ccb325924a1ae320403f82858dba0f (patch) | |
tree | 46c4cf39b7e4c06e4b30256238acc883bd31e0cd /drivers/net/bonding/bond_main.c | |
parent | net: phy: Correct function name mdiobus_register_board_info() in comment (diff) | |
download | linux-acf61b3d84ccb325924a1ae320403f82858dba0f.tar.xz linux-acf61b3d84ccb325924a1ae320403f82858dba0f.zip |
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
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
-rw-r--r-- | drivers/net/bonding/bond_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 * |