Skip to contentSkip to conversation

x86/viridian: Annotate intentional fallthrough

PATCH In review Andrew Cooper 2 participants 2 messages Mar 22, 2017 – Mar 23, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/viridian: Annotate intentional fallthrough

This stops Coverity complaining.

---
CC: Jan Beulich <[email protected]>
CC: Paul Durrant <[email protected]>

---
 xen/arch/x86/hvm/viridian.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/x86/hvm/viridian.c +1 -1
index b740224..75f165f 100644
@@ -872,7 +872,7 @@ int viridian_hypercall(struct cpu_user_regs *regs)
     default:
         gprintk(XENLOG_WARNING, "unimplemented hypercall %04x\n",
                 input.call_code);
-
+        /* Fallthrough. */
     case HvGetPartitionId:
     case HvExtCallQueryCapabilities:
         /*
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel