]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
EDAC: i5400_edac: print type at debug message
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 13 Sep 2019 14:07:14 +0000 (11:07 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 30 Sep 2019 18:41:54 +0000 (15:41 -0300)
commit1acd05e40cb08cd9cb6d11657df696ed582a3691
tree18774ca57e1e582950014c84f4881724d7c4df03
parent48356e0d57783eec766bef60c88553ee53740b3c
EDAC: i5400_edac: print type at debug message

There are 3 types of non-recoverable errors that the MC reports:

- Fatal;
- Non-fatal uncorrected
- Non-fatal correctable

While we don't add it to the log itself, it could be useful to
have this at least for debug messages.

This shuts up this warning:

drivers/edac/i5400_edac.c: In function ‘i5400_proccess_non_recoverable_info’:
drivers/edac/i5400_edac.c:524:8: warning: variable ‘type’ set but not used [-Wunused-but-set-variable]
  524 |  char *type = NULL;
      |        ^~~~

Acked-by: Borislav Petkov <bp@alien8.de>
Acked-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/edac/i5400_edac.c