powerpc/pseries/mce: Improve array initialization.
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Thu, 28 Mar 2019 11:40:33 +0000 (17:10 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 20 Apr 2019 12:02:26 +0000 (22:02 +1000)
commitc9d8dda42372dce00ac3a1c653bef7b8d2dbe3ce
tree31d44b16b12cdba6f861a368f57f9196a4fd344d
parent56c46bba9bbfe229b4472a5be313c44c5b714a39
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>
arch/powerpc/platforms/pseries/ras.c