Commit acf61b3d authored by Yang Yingliang's avatar Yang Yingliang Committed by David S. Miller

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: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4db0964a
...@@ -964,7 +964,7 @@ static bool bond_should_notify_peers(struct bonding *bond) ...@@ -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 * @bond: our bonding struct
* @new_active: the new slave to make the active one * @new_active: the new slave to make the active one
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment