EDAC/mc: Pass the error descriptor to error reporting functions
authorRobert Richter <rrichter@marvell.com>
Thu, 23 Jan 2020 09:03:04 +0000 (09:03 +0000)
committerBorislav Petkov <bp@suse.de>
Mon, 17 Feb 2020 12:35:30 +0000 (13:35 +0100)
commit6ab76179adb82006aea05f438a0601561c162b8f
treedaaeb99d7aee337acfcbbaa3c05aaf0039b9a0e3
parent67792cf9583c7816667c6b90007b5840f1b471f4
EDAC/mc: Pass the error descriptor to error reporting functions

Most arguments of error reporting functions are already stored in the
struct edac_raw_error_desc error descriptor. Pass the error descriptor
to the functions and reduce the functions' argument list.

 [ bp: Sort function args in reverse fir tree order. ]

Signed-off-by: Robert Richter <rrichter@marvell.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Aristeu Rozanski <aris@redhat.com>
Link: https://lkml.kernel.org/r/20200123090210.26933-9-rrichter@marvell.com
drivers/edac/edac_mc.c