commit | 0678e3109a3cf438a8d1c8e3c3e58a45a59df262 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Tue Jul 07 18:48:17 2020 -0500 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Tue Jul 07 18:49:10 2020 -0500 |
tree | 48311cac057bd3ecbf4e038e826f9e80ec064292 | |
parent | 16d79cd4e23b1964d36c041ab027505ceacbbeeb [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>