diff options
author | Serge Semin <[email protected]> | 2020-05-06 20:42:22 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <[email protected]> | 2020-05-07 12:52:35 +0200 |
commit | 8a0efb8b101665a843205eab3d67ab09cb2d9a8d (patch) | |
tree | 441f8ae220081b0b9f7a4bf7c2175a64c1335fee /include/linux/fpga/fpga-bridge.h | |
parent | ce61b490965e6d4068641cf33b8ecf6864c3e105 (diff) |
mips: cm: Fix an invalid error code of INTVN_*_ERR
Commit 3885c2b463f6 ("MIPS: CM: Add support for reporting CM cache
errors") adds cm2_causes[] array with map of error type ID and
pointers to the short description string. There is a mistake in
the table, since according to MIPS32 manual CM2_ERROR_TYPE = {17,18}
correspond to INTVN_WR_ERR and INTVN_RD_ERR, while the table
claims they have {0x17,0x18} codes. This is obviously hex-dec
copy-paste bug. Moreover codes {0x18 - 0x1a} indicate L2 ECC errors.
Fixes: 3885c2b463f6 ("MIPS: CM: Add support for reporting CM cache errors")
Signed-off-by: Serge Semin <[email protected]>
Cc: Alexey Malahov <[email protected]>
Cc: Thomas Bogendoerfer <[email protected]>
Cc: Paul Burton <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions