[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen staging] x86/EFI: purge a stray semicolon



commit b7b0459864c65933bc45af4bfe8f5473db1ebf17
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Thu May 15 08:56:58 2025 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Thu May 15 08:56:58 2025 +0200

    x86/EFI: purge a stray semicolon
    
    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 <jbeulich@xxxxxxxx>
    Reviewed-by: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>
---
 xen/arch/x86/efi/check.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/arch/x86/efi/check.c b/xen/arch/x86/efi/check.c
index 23ba30abf3..0d92d06cd3 100644
--- a/xen/arch/x86/efi/check.c
+++ b/xen/arch/x86/efi/check.c
@@ -4,7 +4,7 @@ int __attribute__((__ms_abi__)) test(int i)
 }
 
 /* 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.
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.