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:
Bjorn Helgaas 2023-02-22 13:47:25 -06:00
commit 72d083a60a
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{