powerpc/pseries/mce: Fix a typo in error type assignment
The error type is ICACHE not DCACHE, for case MCE_ERROR_TYPE_ICACHE. Signed-off-by: Ganesh Goudar <ganeshgr@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210416125750.49550-1-ganeshgr@linux.ibm.com
This commit is contained in:
parent
cbd3d5ba46
commit
864ec4d40c
@ -699,7 +699,7 @@ static int mce_handle_err_virtmode(struct pt_regs *regs,
|
||||
mce_err.error_type = MCE_ERROR_TYPE_DCACHE;
|
||||
break;
|
||||
case MC_ERROR_TYPE_I_CACHE:
|
||||
mce_err.error_type = MCE_ERROR_TYPE_DCACHE;
|
||||
mce_err.error_type = MCE_ERROR_TYPE_ICACHE;
|
||||
break;
|
||||
case MC_ERROR_TYPE_UNKNOWN:
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user