[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230111194001.1947849-6-dionnaglaze@google.com>
Date: Wed, 11 Jan 2023 19:39:59 +0000
From: Dionna Glaze <dionnaglaze@...gle.com>
To: linux-kernel@...r.kernel.org, x86@...nel.org
Cc: Dionna Glaze <dionnaglaze@...gle.com>,
Borislav Petkov <Borislav.Petkov@....com>,
Peter Gonda <pgonda@...gle.com>,
Thomas Lendacky <Thomas.Lendacky@....com>
Subject: [PATCH v11 5/7] x86/sev: Change sev_guestreq_err_t to u64
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@....com>
Cc: Peter Gonda <pgonda@...gle.com>
Cc: Thomas Lendacky <Thomas.Lendacky@....com>
Signed-off-by: Dionna Glaze <dionnaglaze@...gle.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
Powered by blists - more mailing lists