Skip to content

Commit 3543f88

Browse files
kirylhansendc
authored andcommitted
x86/tdx: Fix typo in comment in __tdx_hypercall()
Comment in __tdx_hypercall() points that RAX==0 indicates TDVMCALL failure which is opposite of the truth: RAX==0 is success. Fix the comment. No functional changes. Signed-off-by: Kirill A. Shutemov <[email protected]> Signed-off-by: Dave Hansen <[email protected]> Link: https://lore.kernel.org/all/20230126221159.8635-2-kirill.shutemov%40linux.intel.com
1 parent 5dc4c99 commit 3543f88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/coco/tdx/tdcall.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ SYM_FUNC_START(__tdx_hypercall)
155155
tdcall
156156

157157
/*
158-
* RAX==0 indicates a failure of the TDVMCALL mechanism itself and that
158+
* RAX!=0 indicates a failure of the TDVMCALL mechanism itself and that
159159
* something has gone horribly wrong with the TDX module.
160160
*
161161
* The return status of the hypercall operation is in a separate

0 commit comments

Comments
 (0)