diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2025-05-22 18:21:15 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-05-23 11:01:17 -0500 |
commit | ad9839137cf9fb0f0c2d531bd04bc4382e6f2de9 (patch) | |
tree | 9d4249c1cd0a0ad2e36b95c71e8663ca94e78a40 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 57964ba39057a76f3485437347bb4219be9c5b52 (diff) |
PCI/AER: Simplify pci_print_aer()
Simplify pci_print_aer() by initializing the struct aer_err_info "info"
with a designated initializer list (it was previously initialized with
memset()) and using pci_name().
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Link: https://patch.msgid.link/20250522232339.1525671-10-helgaas@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions