summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorWengang Wang <wen.gang.wang@oracle.com>2014-12-23 02:24:36 +0100
committerDavid S. Miller <davem@davemloft.net>2014-12-27 08:20:55 +0100
commita22a9e4141474b9f314947f159817050a1db58d8 (patch)
treefb404f0f744aa61d7bd3d9950a8cdebd3da3f6a3 /drivers
parentMerge branch 'netlink_multicast' (diff)
downloadlinux-a22a9e4141474b9f314947f159817050a1db58d8.tar.xz
linux-a22a9e4141474b9f314947f159817050a1db58d8.zip
bonding: change error message to debug message in __bond_release_one()
In __bond_release_one(), when the interface is not a slave or not a slave of "this" master, it log error message. The message actually should be a debug message matching what bond_enslave() does. Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com> Acked-by: Ding Tianhong <dingtianhong@huawei.com> Signed-off-by: Andy Gospodarek <gospo@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/bonding/bond_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 184c434ae305..0dceba1a2ba1 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -1648,7 +1648,7 @@ static int __bond_release_one(struct net_device *bond_dev,
/* slave is not a slave or master is not master of this slave */
if (!(slave_dev->flags & IFF_SLAVE) ||
!netdev_has_upper_dev(slave_dev, bond_dev)) {
- netdev_err(bond_dev, "cannot release %s\n",
+ netdev_dbg(bond_dev, "cannot release %s\n",
slave_dev->name);
return -EINVAL;
}