Re: [PATCH 02/15] sched/cputime: Remove superfluous and error prone kcpustat_field() parameter
From: Shrikanth Hegde
Date: Wed Feb 18 2026 - 13:27:32 EST
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@xxxxxxxxxxxxx>