Skip to contentSkip to conversation

efi: Add newline to cper DIMM location messages

PATCH In review Luck, Tony 2 participants 4 messages Jan 24, 2014 – Jan 27, 2014 3 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

Luck, Tony

author
#0 lore raw

PATCH 1/1 efi: Add newline to cper DIMM location messages

We forgot the newline at the end of two messages. Add it.

---

drivers/firmware/efi/cper.c +2 -2
index 1491dd4f08f9..9f59f6ba271a 100644
@@ -240,9 +240,9 @@ static void cper_print_mem(const char *pfx, const struct cper_sec_mem_err *mem)
 		const char *bank = NULL, *device = NULL;
 		dmi_memdev_name(mem->mem_dev_handle, &bank, &device);
 		if (bank != NULL && device != NULL)
-			printk("%s""DIMM location: %s %s", pfx, bank, device);
+			printk("%s""DIMM location: %s %s\n", pfx, bank, device);
 		else
-			printk("%s""DIMM DMI handle: 0x%.4x",
+			printk("%s""DIMM DMI handle: 0x%.4x\n",
 			       pfx, mem->mem_dev_handle);
 	}
 }