[PATCH 02/15] sched/cputime: Remove superfluous and error prone kcpustat_field() parameter
Shrikanth Hegde
sshegde at linux.ibm.com
Thu Feb 19 05:25:52 AEDT 2026
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 at linux.ibm.com>
More information about the Linuxppc-dev
mailing list