aboutsummaryrefslogtreecommitdiff
path: root/lib/lockref.c
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2021-08-18 21:03:44 +0200
committerBjorn Helgaas <[email protected]>2021-08-20 15:49:00 -0500
commit37838aa437c78fefd7d818f5f01a3a3950e92f40 (patch)
tree947723f1c76760d0b6371da52b7a470f6fca05b3 /lib/lockref.c
parent5119e20facfaa9f5454dd01192f3729415c7b139 (diff)
sfc: 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. 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/lockref.c')
0 files changed, 0 insertions, 0 deletions