diff options
author | Heiner Kallweit <[email protected]> | 2021-09-10 08:22:49 +0200 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2021-10-25 19:12:23 -0500 |
commit | 3331325c6347492dfbe31f6b2bfdaee9b0689cd5 (patch) | |
tree | 019b527b209f79eae4e4ecdcfbfc17a3a7e8c162 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | bf2928c7a284e31f9f91a004b5dca09c522157c0 (diff) |
PCI/VPD: Use pci_read_vpd_any() in pci_vpd_size()
Use new function pci_read_vpd_any() to simplify the code.
[bhelgaas: squash in fix for stack overflow reported & tested by
Qian [1] and Kunihiko [2]:
[1] https://lore.kernel.org/netdev/[email protected]/
[2] https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Qian Cai <[email protected]>
Tested-by: Qian Cai <[email protected]>
Reported-by: Kunihiko Hayashi <[email protected]>
Tested-by: Kunihiko Hayashi <[email protected]>
]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Heiner Kallweit <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions