aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2021-08-18 21:03:44 +0200
committerBjorn Helgaas <bhelgaas@google.com>2021-08-20 15:49:00 -0500
commit37838aa437c78fefd7d818f5f01a3a3950e92f40 (patch)
tree947723f1c76760d0b6371da52b7a470f6fca05b3 /tools/perf/scripts/python/exported-sql-viewer.py
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/bf5d4ba9-61a9-2bfe-19ec-75472732d74d@gmail.com Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions