Skip to content

Commit

Permalink
powerpc/eeh: Refactor report functions
Browse files Browse the repository at this point in the history
The EEH report functions now share a fair bit of code around the start
and end of each function.

So factor out as much as possible, and move the traversal into a
custom function. This also allows accurate debug to be generated more
easily.

Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com>
[mpe: Format with clang-format]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
  • Loading branch information
Sam Bobroff authored and Michael Ellerman committed Jun 3, 2018
1 parent 665012c commit 20b3449
Showing 1 changed file with 157 additions and 150 deletions.
Loading

0 comments on commit 20b3449

Please sign in to comment.