]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
rasdaemon: fix PCIe AER error type
authorThomas Tai <thomas.tai@oracle.com>
Mon, 14 May 2018 14:33:47 +0000 (10:33 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 14 Aug 2018 15:45:17 +0000 (12:45 -0300)
commit0a16789f4557d3423138bae9a7c822786fb5cc7d
tree6a77cafa8ce850269af330f7c76a6d87fe150d62
parentf47c6addea6990c4a18848bb1d50c1506e836e54
rasdaemon: fix PCIe AER error type

The error types between PCIe AER and CPU Machine Check are
different. when handling aer_event, the PCIe AER error
type should be used. Add an enum to match the kernel
PCIe AER and use it to decode the error type.

Signed-off-by: Thomas Tai <thomas.tai@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
ras-aer-handler.c
ras-events.h