Searched hist:"58 fb24cb95562da6e54763463464d168ec5a1caa" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/edac/ |
H A D | i7300_edac.c | diff 58fb24cb95562da6e54763463464d168ec5a1caa Wed Jan 25 09:08:27 CST 2017 Borislav Petkov <bp@suse.de> EDAC, i7300: Test for the second channel properly
REDMEMB[17] is the ECC_Locator bit, which, when set, identifies the CS[3:2] as the simbols in error. And thus the second channel.
The macro computing it was wrong so get rid of it (it was used at one place only) and get rid of the conditional too. Generates better code this way anyway.
Signed-off-by: Borislav Petkov <bp@suse.de> Reported-by: David Binderman <dcb314@hotmail.com> Reviewed-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|