[LTP] sched/cfs-scheduler: Fix 'make check' errors and warnings in hackbench.c.

Samir M samir@linux.ibm.com
Thu Aug 20 20:38:21 CEST 2026


On 18/08/26 11:04 pm, linuxtestproject.agent@gmail.com wrote:
> Hi Samir,
>
> On Tue, Aug 18, 2026, Samir Mulani wrote:
>> sched/cfs-scheduler: Fix 'make check' errors and warnings in hackbench.c.
>> Fix all 'make check' warnings in hackbench.c to comply with the LTP
>> coding style guidelines.
> [Minor] Could create_worker() and reap_worker() be made static, or could the
> claim above be narrowed? The affected directory's make check still reports
> that both symbols have no prototype or library prefix and asks whether they
> should be static.


Thanks for pointing this out. Both |create_worker()| and |reap_worker()| 
are only used within |hackbench.c|, so I'll make them static in the next 
revision.

> Verdict - Needs revision
>
> ---
> Note:
>
> The agent can sometimes produce false positives although often its
> findings are genuine. If you find issues with the review, please
> comment this email or ignore the suggestions.
>
> Regards,
> LTP AI Reviewer
>
Regards,
Samir


More information about the ltp mailing list