summaryrefslogtreecommitdiff
path: root/drivers/pci/pcie/portdrv_core.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2020-07-07 18:48:17 -0500
committerBjorn Helgaas <bhelgaas@google.com>2020-07-07 18:49:10 -0500
commit0678e3109a3cf438a8d1c8e3c3e58a45a59df262 (patch)
tree48311cac057bd3ecbf4e038e826f9e80ec064292 /drivers/pci/pcie/portdrv_core.c
parent16d79cd4e23b1964d36c041ab027505ceacbbeeb (diff)
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 'drivers/pci/pcie/portdrv_core.c')
0 files changed, 0 insertions, 0 deletions