summaryrefslogtreecommitdiff
path: root/lib/test_kmod.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2021-08-22 16:53:23 +0300
committerDavid S. Miller <davem@davemloft.net>2021-08-22 23:45:39 +0300
commitbed3db3d734e8e55815d865913ef75d9f707db96 (patch)
tree36eec7cbf16df50afba2af881c1445454d073ec6 /lib/test_kmod.c
parent0df79c864636a209bf95ca93d986ca4cdd72bb89 (diff)
downloadlinux-bed3db3d734e8e55815d865913ef75d9f707db96.tar.xz
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 <hkallweit1@gmail.com> Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_kmod.c')
0 files changed, 0 insertions, 0 deletions