aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/edac/amd64_edac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c
index 0106d343a681..c29d24fe1856 100644
--- a/drivers/edac/amd64_edac.c
+++ b/drivers/edac/amd64_edac.c
@@ -1683,7 +1683,7 @@ static void f10_map_sysaddr_to_csrow(struct mem_ctl_info *mci,
1683 * ganged. Otherwise @chan should already contain the channel at 1683 * ganged. Otherwise @chan should already contain the channel at
1684 * this point. 1684 * this point.
1685 */ 1685 */
1686 if (dct_ganging_enabled(pvt) && pvt->nbcfg & K8_NBCFG_CHIPKILL) 1686 if (dct_ganging_enabled(pvt) && (pvt->nbcfg & K8_NBCFG_CHIPKILL))
1687 chan = get_channel_from_ecc_syndrome(mci, syndrome); 1687 chan = get_channel_from_ecc_syndrome(mci, syndrome);
1688 1688
1689 if (chan >= 0) 1689 if (chan >= 0)