diff options
author | Robert Richter <rrichter@marvell.com> | 2020-01-23 12:02:56 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-02-17 15:05:10 +0300 |
commit | 91b327f6728b0c4dfa089f11a474789854baa0b1 (patch) | |
tree | 9202d1754fcfe6ea8b94dae5e21485594e85a47d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 672ef0e5684048a00aeb923b10131275ea688543 (diff) | |
download | linux-91b327f6728b0c4dfa089f11a474789854baa0b1.tar.xz |
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 <rrichter@marvell.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Acked-by: Aristeu Rozanski <aris@redhat.com>
Link: https://lkml.kernel.org/r/20200123090210.26933-5-rrichter@marvell.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions