diff options
author | 2021-08-18 21:04:37 +0200 | |
---|---|---|
committer | 2021-08-20 15:49:00 -0500 | |
commit | f240e15097c5004811a58f2cbc170bf90d06d0a9 (patch) | |
tree | aeb9fe27612afcd7cc184ea7df6c15c55aa8eb26 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | sfc: Search VPD with pci_vpd_find_ro_info_keyword() (diff) | |
download | linux-dev-f240e15097c5004811a58f2cbc170bf90d06d0a9.tar.xz linux-dev-f240e15097c5004811a58f2cbc170bf90d06d0a9.zip |
tg3: Read VPD with pci_vpd_alloc()
Use pci_vpd_alloc() to dynamically allocate a properly sized buffer and
read the full VPD data into it.
This simplifies the code, and we no longer have to make assumptions about
VPD size.
Link: https://lore.kernel.org/r/bd3cd19c-b74f-9704-5786-476bf35ab5de@gmail.com
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions