Aiui in principle this constitutes a Misra C:2012 rule 2.2 violation. Just that we didn't adopt this rule (yet?).
Fixes: afcb4a06c740 ("x86/thunk: Build Xen with Return Thunks") Signed-off-by: Jan Beulich <jbeul...@suse.com> --- Noticed while backporting to 4.14, where patch context changes. --- a/xen/arch/x86/efi/check.c +++ b/xen/arch/x86/efi/check.c @@ -4,7 +4,7 @@ int __attribute__((__ms_abi__)) test(int } /* In case -mfunction-return is in use. */ -void __x86_return_thunk(void) {}; +void __x86_return_thunk(void) {} /* * Populate an array with "addresses" of relocatable and absolute values.