diff options
author | 2020-07-07 18:48:17 -0500 | |
---|---|---|
committer | 2020-07-07 18:49:10 -0500 | |
commit | 0678e3109a3cf438a8d1c8e3c3e58a45a59df262 (patch) | |
tree | 48311cac057bd3ecbf4e038e826f9e80ec064292 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI: Use 'pci_channel_state_t' instead of 'enum pci_channel_state' (diff) | |
download | wireguard-linux-0678e3109a3cf438a8d1c8e3c3e58a45a59df262.tar.xz wireguard-linux-0678e3109a3cf438a8d1c8e3c3e58a45a59df262.zip |
PCI/AER: Simplify __aer_print_error()
aer_correctable_error_string[] and aer_uncorrectable_error_string[] have
descriptions of AER error status bits. Add NULL entries to these tables so
all entries for bits 0-31 are defined. Then we don't have to check for
ARRAY_SIZE() when decoding a status word, which simplifies
__aer_print_error().
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions