[PATCH] powerpc/pseries/mce: Fix a typo in error type assignment
Michael Ellerman
mpe at ellerman.id.au
Mon Apr 19 22:39:54 AEST 2021
Ganesh <ganeshgr at linux.ibm.com> writes:
> On 4/17/21 6:06 PM, Michael Ellerman wrote:
>
>> Ganesh Goudar <ganeshgr at linux.ibm.com> writes:
>>> 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
>>> Signed-off-by: Ganesh Goudar <ganeshgr at linux.ibm.com>
>>> ---
>>> arch/powerpc/platforms/pseries/ras.c | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/arch/powerpc/platforms/pseries/ras.c b/arch/powerpc/platforms/pseries/ras.c
>>> index f8b390a9d9fb..9d4ef65da7f3 100644
>>> --- 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_DCACHE;
>>> + mce_err.error_type = MCE_ERROR_TYPE_ICACHE;
>>> break;
>>> case MC_ERROR_TYPE_UNKNOWN:
>>> default:
>>> --
>>> 2.26.2
More information about the Linuxppc-dev
mailing list