The case in arch_set_info_guest() is a legitimate fallthrough. Mark it as such.
The cases in vlapic_accept_irq() are a terminal error path, but Coverity fails
to spot this. Reorder the comment to the end.
No functional change, but fixes two MISSING_BREAK Coverity defects.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
{
case -EINTR:
rc = -ERESTART;
+ /* Fallthrough */
case -ERESTART:
v->arch.old_guest_table =
pagetable_get_page(v->arch.guest_table);
case APIC_DM_INIT:
case APIC_DM_STARTUP:
- /* Handled in vlapic_ipi(). */
- BUG();
+ BUG(); /* Handled in vlapic_ipi(). */
default:
gdprintk(XENLOG_ERR, "TODO: unsupported delivery mode in ICR %x\n",