diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2021-08-22 15:55:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-22 21:45:40 +0100 |
commit | ebcdc8ebe8acbaef5d130350a8082e12ac7d4e61 (patch) | |
tree | c85ebc298f5d601fea83f9f58f062805b2ccc11d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | da417885a99d36036cc7d2778f94b846e6582434 (diff) |
bnxt: 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.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions