diff options
author | 2025-05-22 18:21:15 -0500 | |
---|---|---|
committer | 2025-05-23 11:01:17 -0500 | |
commit | ad9839137cf9fb0f0c2d531bd04bc4382e6f2de9 (patch) | |
tree | 9d4249c1cd0a0ad2e36b95c71e8663ca94e78a40 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI/AER: Initialize aer_err_info before using it (diff) | |
download | wireguard-linux-ad9839137cf9fb0f0c2d531bd04bc4382e6f2de9.tar.xz wireguard-linux-ad9839137cf9fb0f0c2d531bd04bc4382e6f2de9.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions