aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/Context.c
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2021-08-22 15:55:23 +0200
committerDavid S. Miller <[email protected]>2021-08-22 21:45:40 +0100
commitebcdc8ebe8acbaef5d130350a8082e12ac7d4e61 (patch)
treec85ebc298f5d601fea83f9f58f062805b2ccc11d /tools/perf/scripts/python/Perf-Trace-Util/Context.c
parentda417885a99d36036cc7d2778f94b846e6582434 (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 <[email protected]> Reported-by: kernel test robot <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions