Re: [PATCH 02/15] sched/cputime: Remove superfluous and error prone kcpustat_field() parameter

Shrikanth Hegde
2026-02-18T18:26:27Z

On 2/6/26 7:52 PM, Frederic Weisbecker wrote:
> The first parameter to kcpustat_field() is a pointer to the cpu kcpustat
> to be fetched from. This parameter is error prone because a copy to a
> kcpustat could be passed by accident instead of the original one. Also
> the kcpustat structure can already be retrieved with the help of the
> mandatory CPU argument.
>
> Remove the needless paramater.

nit: s/paramater/parameter

Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com>