aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2014-12-02 12:41:58 -0500
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-12-02 13:46:33 -0500
commitfec53af531dd040e41fe358abe00b33747af2688 (patch)
tree58021c465c5d57110132ee85682bfda486a133d6 /drivers/edac
parent1f39581a9a7a3387f40f379478d8827878c57530 (diff)
sb_edac: Fix typo computing number of banks
Code will always think there are 16 banks because of a typo Reported-by: Misha Signed-off-by: Tony Luck <tony.luck@intel.com> Acked-by: Aristeu Rozanski <aris@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/sb_edac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/sb_edac.c b/drivers/edac/sb_edac.c
index 993e8b61c4b2..63aa6730e89e 100644
--- a/drivers/edac/sb_edac.c
+++ b/drivers/edac/sb_edac.c
@@ -901,7 +901,7 @@ static int get_dimm_config(struct mem_ctl_info *mci)
901 else 901 else
902 edac_dbg(0, "Memory is unregistered\n"); 902 edac_dbg(0, "Memory is unregistered\n");
903 903
904 if (mtype == MEM_DDR4 || MEM_RDDR4) 904 if (mtype == MEM_DDR4 || mtype == MEM_RDDR4)
905 banks = 16; 905 banks = 16;
906 else 906 else
907 banks = 8; 907 banks = 8;