]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
EDAC, sb_edac: Fix logic when computing DIMM sizes on Xeon Phi
authorHubert Chrzaniuk <hubert.chrzaniuk@intel.com>
Mon, 7 Mar 2016 14:30:45 +0000 (15:30 +0100)
committerBorislav Petkov <bp@suse.de>
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 <hubert.chrzaniuk@intel.com>
Acked-by: Aristeu Rozanski <aris@redhat.com>
Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: lukasz.anaczkowski@intel.com
Link: http://lkml.kernel.org/r/1457361045-26221-1-git-send-email-hubert.chrzaniuk@intel.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/sb_edac.c