mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 17:54:13 +08:00
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>
This commit is contained in:
parent
b7f193da17
commit
e1fac0adf0
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user