projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7f193d
)
ibmvnic: Fix size of debugfs name buffer
author
Thomas Falcon
<tlfalcon@linux.vnet.ibm.com>
Fri, 11 Nov 2016 17:00:46 +0000
(11:00 -0600)
committer
David S. Miller
<davem@davemloft.net>
Sun, 13 Nov 2016 18:42:35 +0000
(13:42 -0500)
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>
drivers/net/ethernet/ibm/ibmvnic.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/ibm/ibmvnic.c
b/drivers/net/ethernet/ibm/ibmvnic.c
index 921c40fad1c3e28654e7442724d1446c2d5d9b47..4f3281a03e7e0d969c5637b523ae9771e75f264e 100644
(file)
--- 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[1
6
]; /* debugfs name buf */
+ char buf[1
7
]; /* debugfs name buf */
int rc;
dev_dbg(&dev->dev, "entering ibmvnic_probe for UA 0x%x\n",