summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Ebner <manuelebner@mailbox.org>2026-07-03 13:51:15 +0200
committerJonathan Corbet <corbet@lwn.net>2026-07-15 10:51:28 -0600
commitdaffe1ac496d2ef233d96e5c2ba25aa59078facb (patch)
tree712c5cb9aca5d85e304d73e0069e0fa53efc94cb
parent82da0f94d4cb75e2aecb1e103ecf6dbc6847c492 (diff)
downloadlinux-daffe1ac496d2ef233d96e5c2ba25aa59078facb.tar.gz
linux-daffe1ac496d2ef233d96e5c2ba25aa59078facb.zip
sched/Documentation: fix code
checkpatch.pl returns 'trailing statements should be on next line' for this file. Do as told. Signed-off-by: Manuel Ebner <manuelebner@mailbox.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <20260703115114.229848-3-manuelebner@mailbox.org>
-rw-r--r--Documentation/scheduler/sched-pelt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/scheduler/sched-pelt.c b/Documentation/scheduler/sched-pelt.c
index 7238b355919c..38ff53dcf352 100644
--- a/Documentation/scheduler/sched-pelt.c
+++ b/Documentation/scheduler/sched-pelt.c
@@ -25,7 +25,8 @@ void calc_runnable_avg_yN_inv(void)
for (i = 0; i < HALFLIFE; i++) {
x = ((1UL<<32)-1)*pow(y, i);
- if (i % 6 == 0) printf("\n\t");
+ if (i % 6 == 0)
+ printf("\n\t");
printf("0x%8x, ", x);
}
printf("\n};\n\n");