From 83a3b34178999dcdc730ba60cf650b07662fb483 Mon Sep 17 00:00:00 2001 From: Fred Reitberger Date: Fri, 2 Jun 2023 11:50:48 -0400 Subject: lib/dimm_info_util.c: Add newlines to log messages Add newlines to log messages to prevent them from running into each other. Change-Id: I4f61c80385f384a3734a5122ccb4161c1ed7c6c5 Signed-off-by: Fred Reitberger Reviewed-on: https://review.coreboot.org/c/coreboot/+/75589 Reviewed-by: Elyes Haouas Reviewed-by: Felix Singer Reviewed-by: Felix Held Tested-by: build bot (Jenkins) --- src/lib/dimm_info_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/dimm_info_util.c b/src/lib/dimm_info_util.c index 3507366a3d..d16cb46d0a 100644 --- a/src/lib/dimm_info_util.c +++ b/src/lib/dimm_info_util.c @@ -26,7 +26,7 @@ uint8_t smbios_bus_width_to_spd_width(uint8_t ddr_type, uint16_t total_width, out = MEMORY_BUS_WIDTH_8; break; default: - printk(BIOS_NOTICE, "Unknown memory size %hu", data_width); + printk(BIOS_NOTICE, "Unknown memory size %hu\n", data_width); /* * The SMBIOS spec says we should set 0xFFFF on an unknown * value, but we don't have a way of passing that signal via SPD @@ -49,7 +49,7 @@ uint8_t smbios_bus_width_to_spd_width(uint8_t ddr_type, uint16_t total_width, /* No extension bits */ break; default: - printk(BIOS_NOTICE, "Unknown number of extension bits %hu", + printk(BIOS_NOTICE, "Unknown number of extension bits %hu\n", extension_bits); break; } -- cgit v1.2.3