[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XEN PATCH 1/7] xen/domctl: address a violation of MISRA C:2012 Rule 16.3
Add break statement to address a violation of MISRA C:2012 Rule 16.3 ("An unconditional `break' statement shall terminate every switch-clause "). No functional change. Signed-off-by: Federico Serafini <federico.serafini@xxxxxxxxxxx> --- xen/common/domctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/common/domctl.c b/xen/common/domctl.c index d94a9dae91..f2e0e36a17 100644 --- a/xen/common/domctl.c +++ b/xen/common/domctl.c @@ -316,6 +316,7 @@ long do_domctl(XEN_GUEST_HANDLE_PARAM(xen_domctl_t) u_domctl) d = rcu_lock_domain_by_id(op->domain); if ( !d ) return -ESRCH; + break; } ret = xsm_domctl(XSM_OTHER, d, op->cmd); -- 2.34.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |