[SRU][Bionic][PATCH 1/2] s390: remove closung punctuation from spectre messages

Juerg Haefliger juerg.haefliger at canonical.com
Tue Mar 26 07:59:33 UTC 2019


From: Martin Schwidefsky <schwidefsky at de.ibm.com>

There should not be a '.' at the end of the spectre syslog messages.
Remove them.

Signed-off-by: Martin Schwidefsky <schwidefsky at de.ibm.com>

CVE-2017-5715

(cherry picked from commit b7e7f5051bf860dd2a39b581caa10ea3e503da56)
Signed-off-by: Juerg Haefliger <juergh at canonical.com>
---
 arch/s390/kernel/nospec-branch.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/s390/kernel/nospec-branch.c b/arch/s390/kernel/nospec-branch.c
index 555da6e05d7b..bdddaae96559 100644
--- a/arch/s390/kernel/nospec-branch.c
+++ b/arch/s390/kernel/nospec-branch.c
@@ -38,9 +38,9 @@ static int __init nospec_report(void)
 	if (test_facility(156))
 		pr_info("Spectre V2 mitigation: etokens\n");
 	if (IS_ENABLED(CC_USING_EXPOLINE) && !nospec_disable)
-		pr_info("Spectre V2 mitigation: execute trampolines.\n");
+		pr_info("Spectre V2 mitigation: execute trampolines\n");
 	if (__test_facility(82, S390_lowcore.alt_stfle_fac_list))
-		pr_info("Spectre V2 mitigation: limited branch prediction.\n");
+		pr_info("Spectre V2 mitigation: limited branch prediction\n");
 	return 0;
 }
 arch_initcall(nospec_report);
-- 
2.19.1




More information about the kernel-team mailing list