|
|
4a6338 |
From 16907df0abda49b7b71e95e272b8ec241da34bf2 Mon Sep 17 00:00:00 2001
|
|
|
4a6338 |
From: Deomid rojer Ryabkov <rojer9@fb.com>
|
|
|
4a6338 |
Date: Mon, 26 Aug 2019 14:20:15 +0200
|
|
|
4a6338 |
Subject: [PATCH 06/11] Fix formatting of TPM table output
|
|
|
4a6338 |
|
|
|
4a6338 |
Added missing newlines.
|
|
|
4a6338 |
|
|
|
4a6338 |
Fixes: 48a8132058a0 ("dmidecode: Add support for structure type 43 (TPM Device)")
|
|
|
4a6338 |
---
|
|
|
4a6338 |
dmidecode.c | 4 ++--
|
|
|
4a6338 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
4a6338 |
|
|
|
4a6338 |
diff --git a/dmidecode.c b/dmidecode.c
|
|
|
4a6338 |
index 9c1e9c4b0498..a5a12355b268 100644
|
|
|
4a6338 |
--- a/dmidecode.c
|
|
|
4a6338 |
+++ b/dmidecode.c
|
|
|
4a6338 |
@@ -4994,7 +4994,7 @@ static void dmi_decode(const struct dmi_header *h, u16 ver)
|
|
|
4a6338 |
printf("\tVendor ID:");
|
|
|
4a6338 |
dmi_tpm_vendor_id(data + 0x04);
|
|
|
4a6338 |
printf("\n");
|
|
|
4a6338 |
- printf("\tSpecification Version: %d.%d", data[0x08], data[0x09]);
|
|
|
4a6338 |
+ printf("\tSpecification Version: %d.%d\n", data[0x08], data[0x09]);
|
|
|
4a6338 |
switch (data[0x08])
|
|
|
4a6338 |
{
|
|
|
4a6338 |
case 0x01:
|
|
|
4a6338 |
@@ -5017,7 +5017,7 @@ static void dmi_decode(const struct dmi_header *h, u16 ver)
|
|
|
4a6338 |
*/
|
|
|
4a6338 |
break;
|
|
|
4a6338 |
}
|
|
|
4a6338 |
- printf("\tDescription: %s", dmi_string(h, data[0x12]));
|
|
|
4a6338 |
+ printf("\tDescription: %s\n", dmi_string(h, data[0x12]));
|
|
|
4a6338 |
printf("\tCharacteristics:\n");
|
|
|
4a6338 |
dmi_tpm_characteristics(QWORD(data + 0x13), "\t\t");
|
|
|
4a6338 |
if (h->length < 0x1F) break;
|
|
|
4a6338 |
--
|
|
|
4a6338 |
2.17.1
|
|
|
4a6338 |
|