!19 解决PWR_CPU_SetFreq接口非法频率范围和非法governor错误码不一致问题, 设置频率范围接口返回错误码不合适问题

From: @xu-chongyu214 
Reviewed-by: @queyanwen 
Signed-off-by: @queyanwen
This commit is contained in:
openeuler-ci-bot 2023-12-21 08:59:13 +00:00 committed by Gitee
commit 435040d932
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 5 additions and 1 deletions

Binary file not shown.

View File

@ -1,6 +1,6 @@
Name: powerapi
Version: 1.0.0
Release: 6
Release: 7
Summary: The ability to support openEuler power consumption control.
License: MulanPSL-2.0
@ -68,6 +68,10 @@ systemctl stop pwrapis
%{_sysconfdir}/systemd/system/pwrapis.service
%changelog
* Thu Dec 21 2023 xuchongyu <xuchongyu@huawei.com> - 1.0.0-7
- Solve the problem that the illegal frequency range of the PWR_CPU_SetFreq interface is inconsistent with the illegal governor error code
- And the error code returned by the interface with the set frequency range is inappropriate
* Tue Dec 19 2023 xuchongyu <xuchongyu@huawei.com> - 1.0.0-6
- Automatically create the sockfile directory if it does not exist