projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbd3d5b
)
powerpc/pseries/mce: Fix a typo in error type assignment
author
Ganesh Goudar
<ganeshgr@linux.ibm.com>
Fri, 16 Apr 2021 12:57:50 +0000
(18:27 +0530)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Tue, 20 Apr 2021 04:22:23 +0000
(14:22 +1000)
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
arch/powerpc/platforms/pseries/ras.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/pseries/ras.c
b/arch/powerpc/platforms/pseries/ras.c
index f8b390a9d9fb3169c587b3a625a00ac474f55ac1..9d4ef65da7f395f6aab3e7a9e544f27c2117f0e5 100644
(file)
--- a/
arch/powerpc/platforms/pseries/ras.c
+++ b/
arch/powerpc/platforms/pseries/ras.c
@@
-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_
D
CACHE;
+ mce_err.error_type = MCE_ERROR_TYPE_
I
CACHE;
break;
case MC_ERROR_TYPE_UNKNOWN:
default: