diff --git a/kernel/sched/walt/core_ctl.c b/kernel/sched/walt/core_ctl.c index 21726f06ba9f..bfefd476260a 100644 --- a/kernel/sched/walt/core_ctl.c +++ b/kernel/sched/walt/core_ctl.c @@ -402,6 +402,7 @@ static ssize_t show_not_preferred(const struct cluster_data *state, char *buf) count += scnprintf(buf + count, PAGE_SIZE - count, "%u ", c->not_preferred); } + count += scnprintf(buf + count, PAGE_SIZE - count, "\n"); spin_unlock_irqrestore(&state_lock, flags); return count;