x86/tdx: Fix RETs in TDX asm
authorPeter Zijlstra <peterz@infradead.org>
Fri, 20 May 2022 08:38:39 +0000 (10:38 +0200)
committerBorislav Petkov <bp@suse.de>
Fri, 20 May 2022 10:53:22 +0000 (12:53 +0200)
commitc796f02162e428b595ff70196dca161ee46b163b
tree161d60a4236333d316054341ff856304f8136013
parent5af14c29f7a0e6d1fcee44c4ed4a2d12a49c4a43
x86/tdx: Fix RETs in TDX asm

Because build-testing is over-rated, fix a few trivial objtool complaints:

  vmlinux.o: warning: objtool: __tdx_module_call+0x3e: missing int3 after ret
  vmlinux.o: warning: objtool: __tdx_hypercall+0x6e: missing int3 after ret

Fixes: eb94f1b6a70a ("x86/tdx: Add __tdx_module_call() and __tdx_hypercall() helper functions")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220520083839.GR2578@worktop.programming.kicks-ass.net
arch/x86/coco/tdx/tdcall.S