sched: Convert to use the preferred fallthrough macro
PATCH 1/1 sched: Convert to use the preferred fallthrough macro
Convert the uses of fallthrough comments to fallthrough macro.
Signed-off-by Miaohe Lin <[email protected]>
--- kernel/sched/topology.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
kernel/sched/topology.c +3 -3
@@ -1219,13 +1219,13 @@ static void __free_domain_allocs(struct s_data *d, enum s_alloc what,case sa_rootdomain:if (!atomic_read (&d->rd->refcount))free_rootdomain (&d->rd->rcu); -/* Fall through */ + fallthrough;case sa_sd:free_percpu (d->sd); -/* Fall through */ + fallthrough;case sa_sd_storage:__sdt_free (cpu_map); -/* Fall through */ + fallthrough;case sa_none:break ; }
Signature · 1 line
2.19.1