Heiner Kallweit 2d57dd6673 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/898282a1-13bd-17bc-2e9a-d3dcd336b46c@gmail.com
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2021-08-24 11:41:58 -05:00
..
2020-07-27 12:26:55 -07:00
2020-07-27 12:26:55 -07:00
2020-11-13 15:33:30 -08:00
2020-11-13 15:33:30 -08:00
2020-09-21 13:55:13 -07:00
2020-07-27 12:26:55 -07:00
2021-05-23 17:18:42 -07:00
2020-08-14 14:07:16 -07:00
2021-04-14 13:55:07 -07:00
2020-07-27 12:26:55 -07:00
2020-07-27 12:26:55 -07:00
2020-07-27 12:26:55 -07:00
2020-07-27 12:26:55 -07:00
2020-09-11 17:15:22 -07:00
2020-09-11 17:15:22 -07:00
2020-06-29 17:37:48 -07:00
2020-09-07 14:46:13 -07:00
2020-09-25 16:29:00 -07:00
2020-09-11 17:15:22 -07:00
2020-06-29 17:37:48 -07:00
2020-09-11 17:15:22 -07:00
2020-09-11 17:15:22 -07:00
2020-07-27 12:26:55 -07:00