summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Reitberger <reitbergerfred@gmail.com>2023-06-02 11:50:48 -0400
committerFelix Held <felix-coreboot@felixheld.de>2023-06-03 16:12:54 +0000
commit83a3b34178999dcdc730ba60cf650b07662fb483 (patch)
treefb70c8462b8efd1ac68bc8af0c9a49e0fdb610c4
parente441b3191771df3d1ec417d2ef73cad3f5f68cb5 (diff)
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 <reitbergerfred@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/75589 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/lib/dimm_info_util.c4
1 files changed, 2 insertions, 2 deletions
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;
}