commit | c9d8dda42372dce00ac3a1c653bef7b8d2dbe3ce | [log] [tgz] |
---|---|---|
author | Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> | Thu Mar 28 17:10:33 2019 +0530 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Sat Apr 20 22:02:26 2019 +1000 |
tree | 31d44b16b12cdba6f861a368f57f9196a4fd344d | |
parent | 56c46bba9bbfe229b4472a5be313c44c5b714a39 [diff] |
powerpc/pseries/mce: Improve array initialization. This is a follow up to the patch that fixed misleading print for TLB mutlihit due to wrongly populated mc_err_types[] array. Convert all the static array initialization to '[x] = val' style for better readability of array indexing and avoid any further confusion. Suggested-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>