aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2021-08-22 15:55:23 +0200
committerBjorn Helgaas <[email protected]>2021-08-24 13:43:04 -0500
commit550cd7c1b45b568ccac28fd46663799f1ff8a62d (patch)
treebf433ab72493713cd4f998fd5495d6224307cf23 /lib/test_overflow.c
parent3831cba07a4bf96bc75fb963451a49d7f676c7d6 (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. Link: https://lore.kernel.org/r/[email protected] Reported-by: kernel test robot <[email protected]> Signed-off-by: Heiner Kallweit <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions