Skip to content

Commit 5196401

Browse files
tlendackyhansendc
authored andcommitted
x86/mm: Fix spacing within memory encryption features message
The spacing is off in the memory encryption features message on AMD platforms that support memory encryption, e.g.: "Memory Encryption Features active:AMD SEV SEV-ES" There is no space before "AMD" and two spaces after it. Fix this so that the message is spaced properly: "Memory Encryption Features active: AMD SEV SEV-ES" Fixes: 968b493 ("x86/mm: Make DMA memory shared for TD guest") Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Link: https://lkml.kernel.org/r/02401f3024b18e90bc2508147e22e729436cb6d9.1650298573.git.thomas.lendacky@amd.com
1 parent adb5680 commit 5196401

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/x86/mm/mem_encrypt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ static void print_mem_encrypt_feature_info(void)
4949
return;
5050
}
5151

52-
pr_cont("AMD ");
52+
pr_cont(" AMD");
5353

5454
/* Secure Memory Encryption */
5555
if (cc_platform_has(CC_ATTR_HOST_MEM_ENCRYPT)) {

0 commit comments

Comments
 (0)