powerpc/pseries/mce: Fix a typo in error type assignment
PATCH 1/1 powerpc/pseries/mce: Fix a typo in error type assignment
The error type is ICACHE and DCACHE, for case MCE_ERROR_TYPE_ICACHE.
Signed-off-by Ganesh Goudar <[email protected]>
--- arch/powerpc/platforms/pseries/ras.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/platforms/pseries/ras.c +1 -1
@@ -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 :
Signature · 1 line
2.26.2
Michael Ellerman
reviewerQuoted 1 line · Ganesh Goudar
The error type is ICACHE and DCACHE, for case
MCE_ERROR_TYPE_ICACHE.
Do you mean "is ICACHE not DCACHE" ?
cheers
Quoted 20 lines
Signed-off-by Ganesh Goudar <[email protected]>--- arch/powerpc/platforms/pseries/ras.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/powerpc/platforms/pseries/ras.c +1
-1@@ -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 :Signature · 1 line
2.26.2
Quoted 3 lines · Michael Ellerman
Quoted 1 line · Ganesh Goudar
The error type is ICACHE and DCACHE, for case
MCE_ERROR_TYPE_ICACHE.Do you mean "is ICACHE not DCACHE" ?
Right :), Should I send v2 ?
Quoted 23 lines
cheers
Quoted 20 lines
Signed-off-by Ganesh Goudar <[email protected]>--- arch/powerpc/platforms/pseries/ras.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/powerpc/platforms/pseries/ras.c +1
-1@@ -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 :Signature · 1 line
2.26.2
Michael Ellerman
reviewerQuoted 7 lines · Ganesh
Quoted 3 lines · Michael Ellerman
Quoted 1 line · Ganesh Goudar
The error type is ICACHE and DCACHE, for case
MCE_ERROR_TYPE_ICACHE.Do you mean "is ICACHE not DCACHE" ?
Right :), Should I send v2 ?
No I can fix it up :)
cheers
Quoted 20 lines
Quoted 20 lines
Quoted 20 lines
Signed-off-by Ganesh Goudar <[email protected]>--- arch/powerpc/platforms/pseries/ras.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/powerpc/platforms/pseries/ras.c +1
-1@@ -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 :Signature · 1 line
2.26.2
Michael Ellerman
AppliedQuoted 1 line · Ganesh Goudar
The error type is ICACHE and DCACHE, for case
MCE_ERROR_TYPE_ICACHE.
Applied to powerpc/next.
[1/1] powerpc/pseries/mce: Fix a typo in error type assignment
https://git.kernel.org/powerpc/c/864ec4d40c83365b16483d88990e7e579537635c
cheers