Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

EDAC/armada_xp: Fix some log messages

Fix spelling (s/Aramda/Armada/) in a log message and in a comment. While
at it, add a trailing '\n' in messages.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Jan Luebbe <jlu@pengutronix.de>
Link: https://lkml.kernel.org/r/20200413041556.3514-1-christophe.jaillet@wanadoo.fr

authored by

Christophe JAILLET and committed by
Borislav Petkov
493362dd 8f3d9f35

+7 -7
+7 -7
drivers/edac/armada_xp_edac.c
··· 78 78 char msg[128]; 79 79 }; 80 80 81 - /* derived from "DRAM Address Multiplexing" in the ARAMDA XP Functional Spec */ 81 + /* derived from "DRAM Address Multiplexing" in the ARMADA XP Functional Spec */ 82 82 static uint32_t axp_mc_calc_address(struct axp_mc_drvdata *drvdata, 83 83 uint8_t cs, uint8_t bank, uint16_t row, 84 84 uint16_t col) ··· 160 160 if (cnt_sbe) 161 161 cnt_sbe--; 162 162 else 163 - dev_warn(mci->pdev, "inconsistent SBE count detected"); 163 + dev_warn(mci->pdev, "inconsistent SBE count detected\n"); 164 164 } else { 165 165 if (cnt_dbe) 166 166 cnt_dbe--; 167 167 else 168 - dev_warn(mci->pdev, "inconsistent DBE count detected"); 168 + dev_warn(mci->pdev, "inconsistent DBE count detected\n"); 169 169 } 170 170 171 171 /* report earlier errors */ ··· 304 304 305 305 config = readl(base + SDRAM_CONFIG_REG); 306 306 if (!(config & SDRAM_CONFIG_ECC_MASK)) { 307 - dev_warn(&pdev->dev, "SDRAM ECC is not enabled"); 307 + dev_warn(&pdev->dev, "SDRAM ECC is not enabled\n"); 308 308 return -EINVAL; 309 309 } 310 310 ··· 532 532 533 533 l2x0_aux_ctrl = readl(base + L2X0_AUX_CTRL); 534 534 if (!(l2x0_aux_ctrl & AURORA_ACR_PARITY_EN)) 535 - dev_warn(&pdev->dev, "tag parity is not enabled"); 535 + dev_warn(&pdev->dev, "tag parity is not enabled\n"); 536 536 if (!(l2x0_aux_ctrl & AURORA_ACR_ECC_EN)) 537 - dev_warn(&pdev->dev, "data ECC is not enabled"); 537 + dev_warn(&pdev->dev, "data ECC is not enabled\n"); 538 538 539 539 dci = edac_device_alloc_ctl_info(sizeof(*drvdata), 540 540 "cpu", 1, "L", 1, 2, NULL, 0, 0); ··· 618 618 619 619 res = platform_register_drivers(drivers, ARRAY_SIZE(drivers)); 620 620 if (res) 621 - pr_warn("Aramda XP EDAC drivers fail to register\n"); 621 + pr_warn("Armada XP EDAC drivers fail to register\n"); 622 622 623 623 return 0; 624 624 }