diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-10-23 21:48:38 +0800 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-11-13 16:58:04 +1100 |
commit | d273fa919c39223a1edd968e82ea88501b63d21a (patch) | |
tree | fae52b4a6e452d238daf148260a1d0c9b78d4835 | |
parent | 5dc7b419a5a746db6941154b06b932eaf2e692df (diff) | |
download | linux-stable-d273fa919c39223a1edd968e82ea88501b63d21a.tar.gz linux-stable-d273fa919c39223a1edd968e82ea88501b63d21a.tar.bz2 linux-stable-d273fa919c39223a1edd968e82ea88501b63d21a.zip |
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: Tyrel Datwyler <tyreld@linux.ibm.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191023134838.21280-1-yuehaibing@huawei.com
-rw-r--r-- | arch/powerpc/platforms/pseries/ras.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/ras.c b/arch/powerpc/platforms/pseries/ras.c index 3acdcc3bb908..1d7f973c647b 100644 --- a/arch/powerpc/platforms/pseries/ras.c +++ b/arch/powerpc/platforms/pseries/ras.c @@ -255,7 +255,7 @@ static void rtas_parse_epow_errlog(struct rtas_error_log *log) break; case EPOW_SYSTEM_SHUTDOWN: - handle_system_shutdown(epow_log->event_modifier); + handle_system_shutdown(modifier); break; case EPOW_SYSTEM_HALT: |