x86/bugs: Remove apostrophe typo
authorKim Phillips <kim.phillips@amd.com>
Fri, 8 Jul 2022 21:21:28 +0000 (16:21 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Jul 2022 10:54:13 +0000 (12:54 +0200)
commit bcf163150cd37348a0cb59e95c916a83a9344b0e upstream.

Remove a superfluous ' in the mitigation string.

Fixes: e8ec1b6e08a2 ("x86/bugs: Enable STIBP for JMP2RET")
Signed-off-by: Kim Phillips <kim.phillips@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/cpu/bugs.c

index 0e6b6c9527022b3eb3c82a8742f86775d330400b..650333fce795f9967767e60b889cd1151e0b39b7 100644 (file)
@@ -1174,7 +1174,7 @@ spectre_v2_user_select_mitigation(void)
        if (retbleed_mitigation == RETBLEED_MITIGATION_UNRET) {
                if (mode != SPECTRE_V2_USER_STRICT &&
                    mode != SPECTRE_V2_USER_STRICT_PREFERRED)
-                       pr_info("Selecting STIBP always-on mode to complement retbleed mitigation'\n");
+                       pr_info("Selecting STIBP always-on mode to complement retbleed mitigation\n");
                mode = SPECTRE_V2_USER_STRICT_PREFERRED;
        }