diff options
author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2023-12-15 17:04:50 +0200 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2024-02-13 13:56:43 -0700 |
commit | 348139384ba30eccd4ce4f01fcf575b08ce81b83 (patch) | |
tree | f27ad47e0946ea0f80f2a2a65e3ca6a715909423 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | bcd8a929a5387178d917da785896e53b0845ab37 (diff) | |
download | linux-348139384ba30eccd4ce4f01fcf575b08ce81b83.tar.gz linux-348139384ba30eccd4ce4f01fcf575b08ce81b83.tar.bz2 linux-348139384ba30eccd4ce4f01fcf575b08ce81b83.zip |
selftests/resctrl: Change function comments to say < 0 on error
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>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions