Re: [PATCH v3 04/29] selftests/resctrl: Change function comments to say < 0 on error

From: Reinette Chatre
Date: Wed Dec 13 2023 - 16:55:11 EST


Hi Ilpo,

On 12/11/2023 4:18 AM, Ilpo Järvinen wrote:
> A number function comments state the function return non-zero on
> failure but in reality they can only return 0 on success and < 0 on
> error.
>
> Update the comments to say < 0 on error to match the behavior.
>
> While at it, improve cat_val() comment to state that 0 means the test
> was run (either pass or fail).
>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
> ---

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

Reinette