2023-05-24 14:37:41

by Chia Chuan Yu

[permalink] [raw]
Subject: [PATCH] sched: fix sched_thermal_decay_shift kernel-doc comment

The comment for fix sched_thermal_decay_shift is not in kernel-doc format.
This patch will fix it.

Signed-off-by: Chia Chuan Yu <[email protected]>
---
kernel/sched/sched.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index 678446251c35..b05861f14543 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -1512,7 +1512,7 @@ static inline u64 rq_clock_task(struct rq *rq)
return rq->clock_task;
}

-/**
+/*
* By default the decay is the default pelt decay period.
* The decay shift can change the decay period in
* multiples of 32.
--
2.25.1



2023-05-24 16:18:15

by Mukesh Ojha

[permalink] [raw]
Subject: Re: [PATCH] sched: fix sched_thermal_decay_shift kernel-doc comment



On 5/24/2023 8:02 PM, Chia Chuan Yu wrote:
> The comment for fix sched_thermal_decay_shift is not in kernel-doc format.
> This patch will fix it.
>
> Signed-off-by: Chia Chuan Yu <[email protected]>

Reviewed-by: Mukesh Ojha <[email protected]>

- Mukesh
> ---
> kernel/sched/sched.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
> index 678446251c35..b05861f14543 100644
> --- a/kernel/sched/sched.h
> +++ b/kernel/sched/sched.h
> @@ -1512,7 +1512,7 @@ static inline u64 rq_clock_task(struct rq *rq)
> return rq->clock_task;
> }
>
> -/**
> +/*
> * By default the decay is the default pelt decay period.
> * The decay shift can change the decay period in
> * multiples of 32.