The rule states: An unconditional `break' statement shall terminate every switch-clause.
Use the `fallthrough' pseudo-keyword for which an ECLAIR deviation is already in place. No functional change. Signed-off-by: Nicola Vetrini <[email protected]> --- xen/common/sched/credit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/sched/credit.c b/xen/common/sched/credit.c index 6dcf6b2c8b..e9a91d11c3 100644 --- a/xen/common/sched/credit.c +++ b/xen/common/sched/credit.c @@ -1288,7 +1288,7 @@ csched_sys_cntl(const struct scheduler *ops, prv->unit_migr_delay = MICROSECS(params->vcpu_migr_delay_us); spin_unlock_irqrestore(&prv->lock, flags); - /* FALLTHRU */ + fallthrough; case XEN_SYSCTL_SCHEDOP_getinfo: params->tslice_ms = prv->tslice / MILLISECS(1); params->ratelimit_us = prv->ratelimit / MICROSECS(1); -- 2.51.2
