Commit 5f7a449a authored by Philippe Gerum's avatar Philippe Gerum
Browse files

evl: convert to fallthrough markers


Signed-off-by: default avatarPhilippe Gerum <rpm@xenomai.org>
parent 7141c7b5
......@@ -1227,7 +1227,7 @@ evl_find_sched_class(union evl_sched_param *param,
case SCHED_NORMAL:
if (prio)
return ERR_PTR(-EINVAL);
/* fall-through */
fallthrough;
case SCHED_WEAK:
if (prio < EVL_WEAK_MIN_PRIO || prio > EVL_WEAK_MAX_PRIO)
return ERR_PTR(-EINVAL);
......@@ -1239,7 +1239,7 @@ evl_find_sched_class(union evl_sched_param *param,
tslice = u_timespec_to_ktime(attrs->sched_rr_quantum);
if (timeout_infinite(tslice) && tslice_r)
tslice = *tslice_r;
/* fall-through */
fallthrough;
case SCHED_FIFO:
/*
* This routine handles requests submitted from
......
......@@ -331,7 +331,7 @@ static ssize_t tp_control(int cpu, union evl_sched_ctlparam *ctlp,
case evl_tp_install:
if (pt->nr_windows > 0)
goto install_schedule;
/* fall-through. */
fallthrough;
case evl_tp_uninstall:
gps = NULL;
goto switch_schedule;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment