Commit d273fa91 authored by YueHaibing's avatar YueHaibing Committed by Michael Ellerman

powerpc/pseries: Use correct event modifier in rtas_parse_epow_errlog()

rtas_parse_epow_errlog() should pass 'modifier' to
handle_system_shutdown, because event modifier only use
bottom 4 bits.
Reviewed-by: default avatarTyrel Datwyler <tyreld@linux.ibm.com>
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191023134838.21280-1-yuehaibing@huawei.com
parent 5dc7b419
...@@ -255,7 +255,7 @@ static void rtas_parse_epow_errlog(struct rtas_error_log *log) ...@@ -255,7 +255,7 @@ static void rtas_parse_epow_errlog(struct rtas_error_log *log)
break; break;
case EPOW_SYSTEM_SHUTDOWN: case EPOW_SYSTEM_SHUTDOWN:
handle_system_shutdown(epow_log->event_modifier); handle_system_shutdown(modifier);
break; break;
case EPOW_SYSTEM_HALT: case EPOW_SYSTEM_HALT:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment