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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
 *