Daniel Axtens 7719aba7a3 powerpc/eeh: Small refactor of eeh_handle_normal_event()
[ Upstream commit 10b34ece132ee46dc4e6459c765d180c422a09fa ]

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 <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211015070628.1331635-1-dja@axtens.net
Stable-dep-of: 9efcdaac36e1 ("powerpc/eeh: Set channel state after notifying the drivers")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-11 16:43:52 +01:00
..
2023-02-06 07:52:49 +01:00
2022-11-03 23:56:54 +09:00
2023-02-06 07:52:49 +01:00
2023-02-06 07:52:49 +01:00
2023-02-06 07:52:49 +01:00
2023-02-06 07:52:49 +01:00
2023-02-06 07:52:49 +01:00