diff options
author | Robert Richter <rrichter@marvell.com> | 2020-01-23 12:02:54 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-02-17 15:02:30 +0300 |
commit | 672ef0e5684048a00aeb923b10131275ea688543 (patch) | |
tree | 23665ae722c22f7b299250277b7d7e90992ab83d /include/linux/edac.h | |
parent | 1f27c79062385af38c7c075f0fc174f98164ab2e (diff) | |
download | linux-672ef0e5684048a00aeb923b10131275ea688543.tar.xz |
EDAC: Store error type in struct edac_raw_error_desc
Store the error type in struct edac_raw_error_desc. This makes the
type parameter of edac_raw_mc_handle_error() obsolete.
[ kernel-doc typo ]
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Robert Richter <rrichter@marvell.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Acked-by: Aristeu Rozanski <aris@redhat.com>
Link: https://lkml.kernel.org/r/20200123090210.26933-4-rrichter@marvell.com
Diffstat (limited to 'include/linux/edac.h')
-rw-r--r-- | include/linux/edac.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/edac.h b/include/linux/edac.h index cc31b9742684..6703eb492cd2 100644 --- a/include/linux/edac.h +++ b/include/linux/edac.h @@ -442,6 +442,7 @@ struct errcount_attribute_data { * struct edac_raw_error_desc - Raw error report structure * @grain: minimum granularity for an error report, in bytes * @error_count: number of errors of the same type + * @type: severity of the error (CE/UE/Fatal) * @top_layer: top layer of the error (layer[0]) * @mid_layer: middle layer of the error (layer[1]) * @low_layer: low layer of the error (layer[2]) @@ -462,6 +463,7 @@ struct edac_raw_error_desc { long grain; u16 error_count; + enum hw_event_mc_err_type type; int top_layer; int mid_layer; int low_layer; |