diff mbox series

[XEN,03/13] x86/domctl: add missing break statement

Message ID a9a7eefc36c74bc16d7ce8ce10be188974667379.1718892030.git.federico.serafini@bugseng.com (mailing list archive)
State New, archived
Headers show
Series x86: address violations of MISRA C Rule 16.3 | expand

Commit Message

Federico Serafini June 20, 2024, 2:02 p.m. UTC
Add missing break statement to address a violation of MISRA C Rule 16.3.

No functional change.

Signed-off-by: Federico Serafini <federico.serafini@bugseng.com>
---
 xen/arch/x86/domctl.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/xen/arch/x86/domctl.c b/xen/arch/x86/domctl.c
index 9190e11faa..68b5b46d1a 100644
--- a/xen/arch/x86/domctl.c
+++ b/xen/arch/x86/domctl.c
@@ -517,6 +517,7 @@  long arch_do_domctl(
 
         default:
             ret = -ENOSYS;
+            break;
         }
         break;
     }