mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 22:21:21 +00:00
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
This commit is contained in:
parent
1f27c79062
commit
672ef0e568
4 changed files with 13 additions and 14 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue