diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2023-02-22 22:47:25 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2023-02-22 22:47:25 +0300 |
commit | 72d083a60a864ad75059b63dc4a2f7107eb85d0a (patch) | |
tree | 53031be6c045f17728f78371fdd762cbce73cee9 /drivers/pci | |
parent | fec93576f7dc80756c6f142a3312ddc4dac5db9a (diff) | |
parent | ea0b5aa5f184cf8293c93163f0fb00505190d431 (diff) | |
download | linux-72d083a60a864ad75059b63dc4a2f7107eb85d0a.tar.xz |
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
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/iov.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index 952217572113..b2e8322755c1 100644 --- a/drivers/pci/iov.c +++ b/drivers/pci/iov.c @@ -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) { |