diff options
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
-rw-r--r-- | drivers/net/bonding/bond_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index 09dc3ef771a7..46dcb7b6216f 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c | |||
@@ -4420,7 +4420,7 @@ int bond_create(struct net *net, const char *name) | |||
4420 | rtnl_lock(); | 4420 | rtnl_lock(); |
4421 | 4421 | ||
4422 | bond_dev = alloc_netdev_mq(sizeof(struct bonding), | 4422 | bond_dev = alloc_netdev_mq(sizeof(struct bonding), |
4423 | name ? name : "bond%d", | 4423 | name ? name : "bond%d", NET_NAME_UNKNOWN, |
4424 | bond_setup, tx_queues); | 4424 | bond_setup, tx_queues); |
4425 | if (!bond_dev) { | 4425 | if (!bond_dev) { |
4426 | pr_err("%s: eek! can't alloc netdev!\n", name); | 4426 | pr_err("%s: eek! can't alloc netdev!\n", name); |