diff options
author | Robert Richter <[email protected]> | 2020-01-23 09:02:56 +0000 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2020-02-17 13:05:10 +0100 |
commit | 91b327f6728b0c4dfa089f11a474789854baa0b1 (patch) | |
tree | 9202d1754fcfe6ea8b94dae5e21485594e85a47d /tools/perf/util/trace-event-scripting.c | |
parent | 672ef0e5684048a00aeb923b10131275ea688543 (diff) |
EDAC/mc: Determine mci pointer from the error descriptor
Each struct mci has its own error descriptor. Create a function
error_desc_to_mci() to determine the corresponding mci from an
error descriptor. This removes @mci from the parameter list of
edac_raw_mc_handle_error() as the mci pointer does not need to be passed
any longer.
[ bp: Massage commit message. ]
Signed-off-by: Robert Richter <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Mauro Carvalho Chehab <[email protected]>
Acked-by: Aristeu Rozanski <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions