diff options
| author | 2021-08-22 15:55:23 +0200 | |
|---|---|---|
| committer | 2021-08-22 21:45:40 +0100 | |
| commit | ebcdc8ebe8acbaef5d130350a8082e12ac7d4e61 (patch) | |
| tree | c85ebc298f5d601fea83f9f58f062805b2ccc11d /scripts/stackdelta | |
| parent | bnx2x: Search VPD with pci_vpd_find_ro_info_keyword() (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 'scripts/stackdelta')
0 files changed, 0 insertions, 0 deletions
