commit | d12d36051ee4d571a36dbf7be82b067994c408a9 | [log] [tgz] |
---|---|---|
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | Thu Apr 24 18:00:21 2014 +1000 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:20:26 2020 +0200 |
tree | 61823bec7ca87bfd9a90f7dd02bcc2e6a05d1289 | |
parent | 8b231d73cdb75c5b396244d043f7d90dc7d488cd [diff] |
powerpc/pseries: Fix overwritten PE state commit 54f112a3837d4e7532bbedbbbf27c0de277be510 upstream. In pseries_eeh_get_state(), EEH_STATE_UNAVAILABLE is always overwritten by EEH_STATE_NOT_SUPPORT because of the missed "break" there. The patch fixes the issue. Reported-by: Joe Perches <joe@perches.com> Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>