diff options
author | Alexey V. Vissarionov <gremlin@altlinux.org> | 2022-12-18 06:33:47 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2023-01-18 19:54:41 +0300 |
commit | ea0b5aa5f184cf8293c93163f0fb00505190d431 (patch) | |
tree | 34d59132f40470de286716343ab04886125cd8c7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 1b929c02afd37871d5afb9d498426f83432e71c2 (diff) | |
download | linux-ea0b5aa5f184cf8293c93163f0fb00505190d431.tar.xz |
PCI/IOV: Enlarge virtfn sysfs name buffer
The sysfs link name "virtfn%u" constructed by pci_iov_sysfs_link() requires
17 bytes to contain the longest possible string. Increase VIRTFN_ID_LEN to
accommodate that.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
[bhelgaas: commit log, comment at #define]
Fixes: dd7cc44d0bce ("PCI: add SR-IOV API for Physical Function driver")
Link: https://lore.kernel.org/r/20221218033347.23743-1-gremlin@altlinux.org
Signed-off-by: Alexey V. Vissarionov <gremlin@altlinux.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions