* [PATCH] sched/Documentation: fix code
@ 2026-07-03 11:51 Manuel Ebner
0 siblings, 0 replies; only message in thread
From: Manuel Ebner @ 2026-07-03 11:51 UTC (permalink / raw)
To: Ingo Molnar, Peter Zijlstra, Juri Lelli, Vincent Guittot,
Dietmar Eggemann, Steven Rostedt, Ben Segall, Mel Gorman,
Valentin Schneider, K Prateek Nayak, Jonathan Corbet, Shuah Khan
Cc: Manuel Ebner, linux-doc, linux-kernel
checkpatch.pl returns 'trailing statements should be on next line'
for this file. Do as told.
Signed-off-by: Manuel Ebner <manuelebner@mailbox.org>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-03 11:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-03 11:51 [PATCH] sched/Documentation: fix code Manuel Ebner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox