aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi
diff options
context:
space:
mode:
authorgengdongjiu <[email protected]>2017-08-17 20:07:18 +0800
committerRafael J. Wysocki <[email protected]>2017-08-24 03:29:46 +0200
commitc4335fdd38227788178953c101b77180504d7ea0 (patch)
treeaee9af84eabebc7d57f91df74589f553b7b76757 /lib/mpi
parentbdb9458a3382ba745a66be5526d3899103c76eda (diff)
ACPI: APEI: fix the wrong iteration of generic error status block
The revision 0x300 generic error data entry is different from the old version, but currently iterating through the GHES estatus blocks does not take into account this difference. This will lead to failure to get the right data entry if GHES has revision 0x300 error data entry. Update the GHES estatus iteration macro to properly increment using acpi_hest_get_next(), and correct the iteration termination condition because the status block data length only includes error data length. Convert the CPER estatus checking and printing iteration logic to use same macro. Signed-off-by: Dongjiu Geng <[email protected]> Tested-by: Tyler Baicar <[email protected]> Reviewed-by: Borislav Petkov <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions