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

2021-11-25 Thread Michael Ellerman
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

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

2021-10-15 Thread Daniel Axtens
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. Signed-off-by: Daniel Axtens --- This doesn't reall