pr_err("%s: Error: dev_set_mac_address of dev %s failed!\n"
"ALB mode requires that the base driver support setting the hw address also when the network device's interface is open\n",
slave->bond->dev->name,dev->name);
netdev_err(slave->bond->dev,"dev_set_mac_address of dev %s failed! ALB mode requires that the base driver support setting the hw address also when the network device's interface is open\n",
pr_warn("%s: Warning: the hw address of slave %s is in use by the bond; giving it the hw address of %s\n",
bond->dev->name,slave->dev->name,
free_mac_slave->dev->name);
netdev_warn(bond->dev,"the hw address of slave %s is in use by the bond; giving it the hw address of %s\n",
slave->dev->name,free_mac_slave->dev->name);
}elseif(has_bond_addr){
pr_err("%s: Error: the hw address of slave %s is in use by the bond; couldn't find a slave with a free hw address to give it (this should not have happened)\n",
bond->dev->name,slave->dev->name);
netdev_err(bond->dev,"the hw address of slave %s is in use by the bond; couldn't find a slave with a free hw address to give it (this should not have happened)\n",