diff options
| author | Heiner Kallweit <[email protected]> | 2021-08-22 15:53:23 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-08-22 21:45:39 +0100 |
| commit | bed3db3d734e8e55815d865913ef75d9f707db96 (patch) | |
| tree | 36eec7cbf16df50afba2af881c1445454d073ec6 /tools/perf/scripts/python/Perf-Trace-Util/Context.c | |
| parent | 0df79c864636a209bf95ca93d986ca4cdd72bb89 (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