]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh: Clean up and document event handling functions
authorRussell Currey <ruscur@russell.cc>
Wed, 19 Apr 2017 07:39:27 +0000 (17:39 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 2 May 2017 12:41:43 +0000 (22:41 +1000)
commitf21f05cb14150b678d9f41835768e110612c42ac
tree520d090ebfa76698aa0ddefb33909fac4a13d45a
parent7f47e4be8112e3cff0e2c65747b6f4d0fcd7465b
powerpc/eeh: Clean up and document event handling functions

Remove unnecessary tags in eeh_handle_normal_event(), and add function
comments for eeh_handle_normal_event() and eeh_handle_special_event().

The only functional difference is that in the case of a PE reaching the
maximum number of failures, rather than one message telling you of this
and suggesting you reseat the device, there are two separate messages.

Suggested-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Russell Currey <ruscur@russell.cc>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Reviewed-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/eeh_driver.c