[PATCH 1/2] eeh: Small refactor of eeh_handle_normal_event

Michael Ellerman patch-notifications at ellerman.id.au
Thu Nov 25 20:36:17 AEDT 2021


On Fri, 15 Oct 2021 18:06:27 +1100, Daniel Axtens wrote:
> The control flow of eeh_handle_normal_event is a bit tricky.
> 
> Break out one of the error handling paths - rather than be in
> an else block, we'll make it part of the regular body of the
> function and put a 'goto out;' in the true limb of the if.
> 
> 
> [...]

Applied to powerpc/next.

[1/2] eeh: Small refactor of eeh_handle_normal_event
      https://git.kernel.org/powerpc/c/10b34ece132ee46dc4e6459c765d180c422a09fa
[2/2] powerpc/eeh: Use a goto for recovery failures
      https://git.kernel.org/powerpc/c/157616f3c2284f13ca7db9897293f944e6ab8199

cheers


More information about the Linuxppc-dev mailing list