diff mbox series

[XEN,13/13] x86/vlapic: address a violation of MISRA C Rule 16.3

Message ID b37ab35baab67cc147d5f21e15234adc08cd7af9.1718890095.git.federico.serafini@bugseng.com (mailing list archive)
State New, archived
Headers show
Series [XEN,01/13] automation/eclair: consider also hypened fall-through | expand

Commit Message

Federico Serafini June 20, 2024, 1:51 p.m. UTC
Add missing break statement to address a violation of MISRA C
Rule 16.3: "An unconditional `break' statement shall terminate every
switch-clause".

No functional change.

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

Patch

diff --git a/xen/arch/x86/hvm/vlapic.c b/xen/arch/x86/hvm/vlapic.c
index 9cfc82666a..2ec9594271 100644
--- a/xen/arch/x86/hvm/vlapic.c
+++ b/xen/arch/x86/hvm/vlapic.c
@@ -367,6 +367,7 @@  static void vlapic_accept_irq(struct vcpu *v, uint32_t icr_low)
         gdprintk(XENLOG_ERR, "TODO: unsupported delivery mode in ICR %x\n",
                  icr_low);
         domain_crash(v->domain);
+        break;
     }
 }