Re: [PATCH] edac i5000, i5400: fix use of MTR_DRAM_WIDTH macro

2017-03-09 Thread Borislav Petkov
On Wed, Mar 08, 2017 at 08:18:09PM -0500, Jérémy Lefaure wrote: > The MTR_DRAM_WIDTH macro returns the data width. It is sometimes used as > if it returned a boolean true if the width if 8. This patch fixes the > tests where MTR_DRAM_WIDTH is misused. > > Signed-off-by: Jérémy Lefaure > --- > dr

[PATCH] edac i5000, i5400: fix use of MTR_DRAM_WIDTH macro

2017-03-08 Thread Jérémy Lefaure
The MTR_DRAM_WIDTH macro returns the data width. It is sometimes used as if it returned a boolean true if the width if 8. This patch fixes the tests where MTR_DRAM_WIDTH is misused. Signed-off-by: Jérémy Lefaure --- drivers/edac/i5000_edac.c | 2 +- drivers/edac/i5400_edac.c | 5 +++-- 2 files c