[PATCH] sched/Documentation: fix code

From: Manuel Ebner

Date: Fri Jul 03 2026 - 08:00:42 EST


checkpatch.pl returns 'trailing statements should be on next line'
for this file. Do as told.

Signed-off-by: Manuel Ebner <manuelebner@xxxxxxxxxxx>
---
This is the only checkpatch-error in all of Documentation/*/*.c
---
Documentation/scheduler/sched-pelt.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

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");
--
2.54.0