Thread (3 messages) 3 messages, 2 authors, 2021-11-25

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

flat view

From: Michael Ellerman <hidden>
Date: 2021-11-25 09:48:25

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help