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>
This commit is contained in:
Yang Yingliang 2021-03-29 20:42:57 +08:00 committed by David S. Miller
parent 4db0964a75
commit acf61b3d84
1 changed files with 1 additions and 1 deletions

View File

@ -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
*