[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190423143533.26952-1-yuehaibing@huawei.com>
Date: Tue, 23 Apr 2019 22:35:33 +0800
From: Yue Haibing <yuehaibing@...wei.com>
To: <benh@...nel.crashing.org>, <paulus@...ba.org>,
<mpe@...erman.id.au>, <mahesh@...ux.vnet.ibm.com>,
<npiggin@...il.com>, <ganeshgr@...ux.ibm.com>, <anton@...ba.org>
CC: <linux-kernel@...r.kernel.org>, <linuxppc-dev@...ts.ozlabs.org>,
YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH] powerpc/pseries: Use correct event modifier in rtas_parse_epow_errlog()
From: YueHaibing <yuehaibing@...wei.com>
rtas_parse_epow_errlog() should pass 'modifier' to
handle_system_shutdown, because event modifier only use
bottom 4 bits.
Fixes: 55fc0c561742 ("powerpc/pseries: Parse and handle EPOW interrupts")
Signed-off-by: YueHaibing <yuehaibing@...wei.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 c97d153..744604d 100644
--- a/arch/powerpc/platforms/pseries/ras.c
+++ b/arch/powerpc/platforms/pseries/ras.c
@@ -285,7 +285,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(event_modifier);
break;
case EPOW_SYSTEM_HALT:
--
2.7.0
Powered by blists - more mailing lists