[PATCH] sched: fix sched_thermal_decay_shift kernel-doc comment

Chia Chuan Yu posted 1 patch 2 years, 8 months ago
kernel/sched/sched.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] sched: fix sched_thermal_decay_shift kernel-doc comment
Posted by Chia Chuan Yu 2 years, 8 months ago
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 <yujuan476@gmail.com>
---
 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
Re: [PATCH] sched: fix sched_thermal_decay_shift kernel-doc comment
Posted by Mukesh Ojha 2 years, 8 months ago

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 <yujuan476@gmail.com>

Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com>

- 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.