From 63e98fc209a66e85e464eb36abe0da2d7eeb9ad3 Mon Sep 17 00:00:00 2001 From: Nikolai Vyssotski Date: Fri, 25 Jun 2021 12:00:48 -0500 Subject: src/device/dram: Add terminating new lines to printk strings BUG=b:184124605 TEST=check serial log Signed-off-by: Nikolai Vyssotski Change-Id: I521a2541e23d047e255b0cc8068ad63dfaf70bfa Reviewed-on: https://review.coreboot.org/c/coreboot/+/55851 Tested-by: build bot (Jenkins) Reviewed-by: Marshall Dawson --- src/device/dram/ddr4.c | 2 +- src/device/dram/lpddr4.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/device/dram/ddr4.c b/src/device/dram/ddr4.c index cc66dccfea..83beeafba1 100644 --- a/src/device/dram/ddr4.c +++ b/src/device/dram/ddr4.c @@ -143,7 +143,7 @@ uint16_t ddr4_speed_mhz_to_reported_mts(uint16_t speed_mhz) return speed_attr->reported_mts; } } - printk(BIOS_ERR, "ERROR: DDR4 speed of %d MHz is out of range", speed_mhz); + printk(BIOS_ERR, "ERROR: DDR4 speed of %d MHz is out of range\n", speed_mhz); return 0; } diff --git a/src/device/dram/lpddr4.c b/src/device/dram/lpddr4.c index 5b829f7812..990af9334e 100644 --- a/src/device/dram/lpddr4.c +++ b/src/device/dram/lpddr4.c @@ -65,6 +65,6 @@ uint16_t lpddr4_speed_mhz_to_reported_mts(uint16_t speed_mhz) return speed_attr->reported_mts; } } - printk(BIOS_ERR, "ERROR: LPDDR4 speed of %d MHz is out of range", speed_mhz); + printk(BIOS_ERR, "ERROR: LPDDR4 speed of %d MHz is out of range\n", speed_mhz); return 0; } -- cgit v1.2.3