Merge branch 'pci/iov'
- Enlarge virtfn sysfs name buffer to prevent buffer overflow (Alexey V. Vissarionov) * pci/iov: PCI/IOV: Enlarge virtfn sysfs name buffer
This commit is contained in:
commit
72d083a60a
|
@ -14,7 +14,7 @@
|
|||
#include <linux/delay.h>
|
||||
#include "pci.h"
|
||||
|
||||
#define VIRTFN_ID_LEN 16
|
||||
#define VIRTFN_ID_LEN 17 /* "virtfn%u\0" for 2^32 - 1 */
|
||||
|
||||
int pci_iov_virtfn_bus(struct pci_dev *dev, int vf_id)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue