diff options
author | Thomas Falcon <tlfalcon@linux.vnet.ibm.com> | 2016-11-11 12:00:46 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-13 13:42:35 -0500 |
commit | e1fac0adf0f9b2c1eb49e658e6ed070a744bbaef (patch) | |
tree | 3531e8c93fea65833e16f85a4f09236faa88b23a | |
parent | b7f193da17fb18b752bef77ce52eb49723299bd8 (diff) |
ibmvnic: Fix size of debugfs name buffer
This mistake was causing debugfs directory creation
failures when multiple ibmvnic devices were probed.
Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/ibm/ibmvnic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c index 921c40fad1c3..4f3281a03e7e 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.c +++ b/drivers/net/ethernet/ibm/ibmvnic.c | |||
@@ -3705,7 +3705,7 @@ static int ibmvnic_probe(struct vio_dev *dev, const struct vio_device_id *id) | |||
3705 | struct net_device *netdev; | 3705 | struct net_device *netdev; |
3706 | unsigned char *mac_addr_p; | 3706 | unsigned char *mac_addr_p; |
3707 | struct dentry *ent; | 3707 | struct dentry *ent; |
3708 | char buf[16]; /* debugfs name buf */ | 3708 | char buf[17]; /* debugfs name buf */ |
3709 | int rc; | 3709 | int rc; |
3710 | 3710 | ||
3711 | dev_dbg(&dev->dev, "entering ibmvnic_probe for UA 0x%x\n", | 3711 | dev_dbg(&dev->dev, "entering ibmvnic_probe for UA 0x%x\n", |