sb_edac: avoid decoding the same error multiple times
authorAristeu Rozanski <arozansk@redhat.com>
Wed, 30 Oct 2013 16:27:05 +0000 (13:27 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 14 Nov 2013 18:50:03 +0000 (16:50 -0200)
commitbe3036d220c9f9350c9da92e9b4e66855cf90889
treea26a8e9f0db854a0ebc602748cd53987b7c5fd93
parentea779b5a097c382e1ae64010fe5e928a86b817ec
sb_edac: avoid decoding the same error multiple times

Whenever the extended error reporting is active, multiple MCEs will be
generated for the same event, which will lead to multiple repeated
errors to be reported. So check ADDRV and only decode the error if the
MCE address is valid.

Signed-off-by: Aristeu Rozanski <arozansk@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/edac/sb_edac.c