summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>2016-11-11 11:00:46 -0600
committerDavid S. Miller <davem@davemloft.net>2016-11-13 13:42:35 -0500
commite1fac0adf0f9b2c1eb49e658e6ed070a744bbaef (patch)
tree3531e8c93fea65833e16f85a4f09236faa88b23a /drivers
parentb7f193da17fb18b752bef77ce52eb49723299bd8 (diff)
downloadblackbird-op-linux-e1fac0adf0f9b2c1eb49e658e6ed070a744bbaef.tar.gz
blackbird-op-linux-e1fac0adf0f9b2c1eb49e658e6ed070a744bbaef.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/ibm/ibmvnic.c2
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)
struct net_device *netdev;
unsigned char *mac_addr_p;
struct dentry *ent;
- char buf[16]; /* debugfs name buf */
+ char buf[17]; /* debugfs name buf */
int rc;
dev_dbg(&dev->dev, "entering ibmvnic_probe for UA 0x%x\n",
OpenPOWER on IntegriCloud