aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2021-08-22 15:49:36 +0200
committerBjorn Helgaas <[email protected]>2021-08-24 11:41:58 -0500
commit2d57dd6673a87ea23d8660257162d6280fe7b2e6 (patch)
tree17bdd3533a2108636896861ce86d41c7d737ef63 /lib/test_overflow.c
parent667bb0e8f7106c6ca3b30254a7fdcd1ea04d3580 (diff)
sfc: falcon: Search VPD with pci_vpd_find_ro_info_keyword()
Use pci_vpd_find_ro_info_keyword() to search for keywords in VPD to simplify the code. Replace netif_err() with pci_err() because the netdevice isn't registered yet, which results in very ugly messages. Use kmemdup_nul() instead of open-coding it. This is the same as 37838aa437c7 ("sfc: Search VPD with pci_vpd_find_ro_info_keyword()"), just for the falcon chip version. 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/test_overflow.c')
0 files changed, 0 insertions, 0 deletions