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

(cherry picked from commit aea744c5d8009258bb474163b5eed955d88670a1)
This commit is contained in:
xuchongyu 2023-12-21 16:03:40 +08:00 committed by openeuler-sync-bot
parent 1d264f43d7
commit 127980bc2c
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