mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] sched: Fix code indentation at line 10371
@ 2025-10-17  6:41 XueBing Chen
  2025-10-17  8:58 ` Steven Rostedt
  0 siblings, 1 reply; 2+ messages in thread
From: XueBing Chen @ 2025-10-17  6:41 UTC (permalink / raw)
  To: mingo, peterz, juri.lelli, vincent.guittot
  Cc: dietmar.eggemann, rostedt, bsegall, mgorman, vschneid,
	linux-kernel, XueBing Chen

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

Signed-off-by: XueBing Chen <chenxb_99091@126.com>
---
 kernel/sched/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 198d2dd45..24fd78d42 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -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
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] sched: Fix code indentation at line 10371
  2025-10-17  6:41 [PATCH] sched: Fix code indentation at line 10371 XueBing Chen
@ 2025-10-17  8:58 ` Steven Rostedt
  0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2025-10-17  8:58 UTC (permalink / raw)
  To: XueBing Chen
  Cc: mingo, peterz, juri.lelli, vincent.guittot, dietmar.eggemann,
	bsegall, mgorman, vschneid, linux-kernel

On Fri, 17 Oct 2025 14:41:52 +0800
XueBing Chen <chenxb_99091@126.com> 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


> 
> Signed-off-by: XueBing Chen <chenxb_99091@126.com>
> ---
>  kernel/sched/core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kernel/sched/core.c b/kernel/sched/core.c
> index 198d2dd45..24fd78d42 100644
> --- a/kernel/sched/core.c
> +++ b/kernel/sched/core.c
> @@ -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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-10-17  8:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-17  6:41 [PATCH] sched: Fix code indentation at line 10371 XueBing Chen
2025-10-17  8:58 ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®