Re: [PATCH v4 16/19] selftests/resctrl: Don't use variable argument list for ->setup()

From: Reinette Chatre
Date: Thu Jul 13 2023 - 19:14:25 EST


Hi Ilpo,

On 7/13/2023 6:19 AM, Ilpo Järvinen wrote:
> struct resctrl_val_param has ->setup() function that accepts variable
> argument list. All test cases use only 1 argument as input and it's
> the struct resctrl_val_param pointer.
>
> Instead of variable argument list, directly pass struct
> resctrl_val_param pointer as the only parameter to ->setup().
>
> Co-developed-by: Fenghua Yu <fenghua.yu@xxxxxxxxx>
> Signed-off-by: Fenghua Yu <fenghua.yu@xxxxxxxxx>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>

Reviewed-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>

Reinette