[PATCH v11 5/7] x86/sev: Change sev_guestreq_err_t to u64

Dionna Glaze posted 7 patches 2 years, 8 months ago
There is a newer version of this series
[PATCH v11 5/7] x86/sev: Change sev_guestreq_err_t to u64
Posted by Dionna Glaze 2 years, 8 months ago
As part of changing the signature across modules, this step ensures the
new type will continue to compile before the typedef is removed.

Cc: Borislav Petkov <Borislav.Petkov@amd.com>
Cc: Peter Gonda <pgonda@google.com>
Cc: Thomas Lendacky <Thomas.Lendacky@amd.com>

Signed-off-by: Dionna Glaze <dionnaglaze@google.com>
---
 arch/x86/include/asm/sev.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/include/asm/sev.h b/arch/x86/include/asm/sev.h
index 5b03ba18fee7..301e3b69f477 100644
--- a/arch/x86/include/asm/sev.h
+++ b/arch/x86/include/asm/sev.h
@@ -137,7 +137,7 @@ struct snp_secrets_page_layout {
  * Use a type alias temporarily to cleanly change the snp_issue_guest_request
  * signature cleanly over multiple patches.
  */
-typedef unsigned long sev_guestreq_err_t;
+typedef u64 sev_guestreq_err_t;
 
 #ifdef CONFIG_AMD_MEM_ENCRYPT
 extern struct static_key_false sev_es_enable_key;
-- 
2.39.0.314.g84b9a713c41-goog