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

Reinette Chatre
2023-12-13T21:54:43Z

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@linux.intel.com>
> ---

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

Reinette