From b0964ea35dfa61b571cf87dfd9ca22d0b3e6ad23 Mon Sep 17 00:00:00 2001 From: Stephen Dickey Date: Wed, 26 Oct 2022 09:45:28 -0700 Subject: [PATCH] sched/walt: append carriage return to not_preferred output When reading from a sysnode, the output should have carriage return appended to it. Change-Id: I5918b241023c3b577759e7e09871a45b27f886c6 Signed-off-by: Stephen Dickey --- kernel/sched/walt/core_ctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sched/walt/core_ctl.c b/kernel/sched/walt/core_ctl.c index a7dee202065e..028e8806db16 100644 --- a/kernel/sched/walt/core_ctl.c +++ b/kernel/sched/walt/core_ctl.c @@ -394,6 +394,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;