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

2023-12-13 Thread Reinette Chatre
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_v

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

2023-12-11 Thread Ilpo Järvinen
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