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:53:23 +0200
committerDavid S. Miller <[email protected]>2021-08-22 21:45:39 +0100
commitbed3db3d734e8e55815d865913ef75d9f707db96 (patch)
tree36eec7cbf16df50afba2af881c1445454d073ec6 /tools/perf/scripts/python/Perf-Trace-Util/Context.c
parent0df79c864636a209bf95ca93d986ca4cdd72bb89 (diff)
bnx2x: 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