aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2021-08-18 21:02:33 +0200
committerBjorn Helgaas <[email protected]>2021-08-20 15:49:00 -0500
commit5119e20facfaa9f5454dd01192f3729415c7b139 (patch)
treee59c3459f97d19d5cd29dbf1c54df8215bcfd06b /lib/mpi/mpi-mod.c
parent6107e5cb907cffc5576cc1297847f9fc69a8d5d9 (diff)
sfc: 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 avoids having to allocate a buffer on the stack, and we don't have to make any assumptions on VPD size and location of information in VPD. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiner Kallweit <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions