diff options
| author | Zhang Rui <rui.zhang@intel.com> | 2026-03-19 08:52:54 +0300 |
|---|---|---|
| committer | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2026-04-05 21:46:21 +0300 |
| commit | 3e244dd513e26728577f1e4deca6fdf749b6f244 (patch) | |
| tree | 5e1f46e1196454c661d33289b2373070b9040fa2 /include | |
| parent | df4a83543117c7fc27077fd7f4ffe870556b257b (diff) | |
| download | linux-3e244dd513e26728577f1e4deca6fdf749b6f244.tar.xz | |
tools/power/x86/intel-speed-select: Fix some program return value
When running the "intel-speed-select -h" command, it returns
1. 0 when using a version that is API incompatible.
2. 1 when using a version that is API compatible.
And this is confusing.
Fix the program to return 0 for "-h" parameter, and return 1 whenever
"Incompatible API versions" is detected.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
