EDAC, sb_edac: Fix logic when computing DIMM sizes on Xeon Phi
authorHubert Chrzaniuk <[email protected]>
Mon, 7 Mar 2016 14:30:45 +0000 (15:30 +0100)
committerBorislav Petkov <[email protected]>
Mon, 7 Mar 2016 18:07:40 +0000 (19:07 +0100)
commit83bdaad4d919722744ef1b726a9913ec36c6a430
tree191e0aebe0d0f4c57a61290f47262c78d97322da
parentf6cede5b49e822ebc41a099fe41ab4989f64e2cb
EDAC, sb_edac: Fix logic when computing DIMM sizes on Xeon Phi

Correct a typo introduced by

  d0cdf9003140 ("EDAC, sb_edac: Add Knights Landing (Xeon Phi gen 2) support")

As a result under some configurations DIMMs were not correctly
recognized. Problem affects only Xeon Phi architecture.

Signed-off-by: Hubert Chrzaniuk <[email protected]>
Acked-by: Aristeu Rozanski <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: linux-edac <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Borislav Petkov <[email protected]>
drivers/edac/sb_edac.c