[PATCH 5/6] x86/platform/amd: Clean up the <asm/amd/hsmp.h> header guards a bit
From: Ingo Molnar
Date: Sun Apr 13 2025 - 04:44:06 EST
- There's no need for a newline after the SPDX line
- But there's a need for one before the closing header guard.
Collect AMD specific platform header files in <asm/amd/*.h>.
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Borislav Petkov <bp@xxxxxxxxx>
Cc: Mario Limonciello <superm1@xxxxxxxxxx>
Cc: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@xxxxxxx>
Cc: Carlos Bilbao <carlos.bilbao@xxxxxxxxxx>
---
arch/x86/include/asm/amd/hsmp.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/include/asm/amd/hsmp.h b/arch/x86/include/asm/amd/hsmp.h
index f3253d27bf49..7674ad9c5cbf 100644
--- a/arch/x86/include/asm/amd/hsmp.h
+++ b/arch/x86/include/asm/amd/hsmp.h
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-
#ifndef _ASM_X86_AMD_HSMP_H_
#define _ASM_X86_AMD_HSMP_H_
@@ -13,4 +12,5 @@ static inline int hsmp_send_message(struct hsmp_message *msg)
return -ENODEV;
}
#endif
+
#endif /*_ASM_X86_AMD_HSMP_H_*/
--
2.45.2