Skip to content

Commit 493362d

Browse files
tititiou36suryasaimadhu
authored andcommitted
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 <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Jan Luebbe <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 8f3d9f3 commit 493362d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

drivers/edac/armada_xp_edac.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ struct axp_mc_drvdata {
7878
char msg[128];
7979
};
8080

81-
/* derived from "DRAM Address Multiplexing" in the ARAMDA XP Functional Spec */
81+
/* derived from "DRAM Address Multiplexing" in the ARMADA XP Functional Spec */
8282
static uint32_t axp_mc_calc_address(struct axp_mc_drvdata *drvdata,
8383
uint8_t cs, uint8_t bank, uint16_t row,
8484
uint16_t col)
@@ -160,12 +160,12 @@ static void axp_mc_check(struct mem_ctl_info *mci)
160160
if (cnt_sbe)
161161
cnt_sbe--;
162162
else
163-
dev_warn(mci->pdev, "inconsistent SBE count detected");
163+
dev_warn(mci->pdev, "inconsistent SBE count detected\n");
164164
} else {
165165
if (cnt_dbe)
166166
cnt_dbe--;
167167
else
168-
dev_warn(mci->pdev, "inconsistent DBE count detected");
168+
dev_warn(mci->pdev, "inconsistent DBE count detected\n");
169169
}
170170

171171
/* report earlier errors */
@@ -304,7 +304,7 @@ static int axp_mc_probe(struct platform_device *pdev)
304304

305305
config = readl(base + SDRAM_CONFIG_REG);
306306
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");
308308
return -EINVAL;
309309
}
310310

@@ -532,9 +532,9 @@ static int aurora_l2_probe(struct platform_device *pdev)
532532

533533
l2x0_aux_ctrl = readl(base + L2X0_AUX_CTRL);
534534
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");
536536
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");
538538

539539
dci = edac_device_alloc_ctl_info(sizeof(*drvdata),
540540
"cpu", 1, "L", 1, 2, NULL, 0, 0);
@@ -618,7 +618,7 @@ static int __init armada_xp_edac_init(void)
618618

619619
res = platform_register_drivers(drivers, ARRAY_SIZE(drivers));
620620
if (res)
621-
pr_warn("Aramda XP EDAC drivers fail to register\n");
621+
pr_warn("Armada XP EDAC drivers fail to register\n");
622622

623623
return 0;
624624
}

0 commit comments

Comments
 (0)