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 2c869d1fe334..ecc86c300e2b 100644
--- a/drivers/edac/amd64_edac.c
+++ b/drivers/edac/amd64_edac.c
@@ -1190,7 +1190,7 @@ static void k8_map_sysaddr_to_csrow(struct mem_ctl_info *mci,
1190 * different from the node that detected the error. 1190 * different from the node that detected the error.
1191 */ 1191 */
1192 src_mci = find_mc_by_sys_addr(mci, SystemAddress); 1192 src_mci = find_mc_by_sys_addr(mci, SystemAddress);
1193 if (src_mci) { 1193 if (!src_mci) {
1194 amd64_mc_printk(mci, KERN_ERR, 1194 amd64_mc_printk(mci, KERN_ERR,
1195 "failed to map error address 0x%lx to a node\n", 1195 "failed to map error address 0x%lx to a node\n",
1196 (unsigned long)SystemAddress); 1196 (unsigned long)SystemAddress);