Skip to contentSkip to conversation

sched: Fix code indentation at line 10371

PATCH NAK XueBing Chen 2 participants 2 messages Oct 17, 2025 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched: Fix code indentation at line 10371

Fix checkpatch.pl indentation warning by replacing spaces with tab.

---
 kernel/sched/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/core.c +1 -1
index 198d2dd45..24fd78d42 100644
@@ -10368,7 +10368,7 @@ const u32 sched_prio_to_wmult[40] = {
 
 void call_trace_sched_update_nr_running(struct rq *rq, int count)
 {
-        trace_sched_update_nr_running_tp(rq, count);
+	trace_sched_update_nr_running_tp(rq, count);
 }
 
 #ifdef CONFIG_SCHED_MM_CID
Signature · 1 line
2.17.1
reviewer NAK
#1 lore raw
Quoted 1 line · On Fri, 17 Oct 2025 14:41:52 +0800 XueBing Chen <[email protected]> wrote:

Fix checkpatch.pl indentation warning by replacing spaces with tab.

checkpatch.ps is to be used on patches *AND NEVER EXISTING CODE*!

Please do not "fix" existing code with what checkpatch complains about, unless it's a real bug. That's not its purpose. This just adds noise to the git log.

NAK.

-- Steve

Quoted 19 lines
---
 kernel/sched/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/core.c +1 -1
index 198d2dd45..24fd78d42 100644
@@ -10368,7 +10368,7 @@ const u32 sched_prio_to_wmult[40] = {
 
 void call_trace_sched_update_nr_running(struct rq *rq, int count)
 {
-        trace_sched_update_nr_running_tp(rq, count);
+	trace_sched_update_nr_running_tp(rq, count);
 }
 
 #ifdef CONFIG_SCHED_MM_CID