numam-dpdk/lib/power
Markus Theil e6b42038e8 power: fix P-state number parsing
When converting atoi to strtol in a revision
of introducing sysfs support for turbo percentage,
a necessary check against '\n' returned by sysfs
was not introduced.

Fixes: de254dac60 ("power: read P-state turbo percentage from sysfs")

Signed-off-by: Markus Theil <markus.theil@secunet.com>
Reviewed-by: Reshma Pattan <reshma.pattan@intel.com>
2022-10-26 23:36:56 +02:00
..
guest_channel.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
guest_channel.h lib: remove C++ include guard from private headers 2021-09-22 22:00:17 +02:00
meson.build power: add Intel uncore frequency control 2022-10-10 14:53:40 +02:00
power_acpi_cpufreq.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
power_acpi_cpufreq.h lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
power_common.c power: refactor ACPI and intel_pstate support 2021-07-08 22:32:13 +02:00
power_common.h lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
power_cppc_cpufreq.c eal: remove unneeded includes from a public header 2022-09-21 15:31:03 +02:00
power_cppc_cpufreq.h lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
power_kvm_vm.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
power_kvm_vm.h lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
power_pstate_cpufreq.c power: fix P-state number parsing 2022-10-26 23:36:56 +02:00
power_pstate_cpufreq.h lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
rte_power_empty_poll.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
rte_power_empty_poll.h power: remove unneeded header includes 2022-06-21 16:46:56 +02:00
rte_power_guest_channel.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_power_intel_uncore.c power: fix open file descriptors leak 2022-10-26 23:31:17 +02:00
rte_power_intel_uncore.h power: add Intel uncore frequency control 2022-10-10 14:53:40 +02:00
rte_power_pmd_mgmt.c eal: remove unneeded includes from a public header 2022-09-21 15:31:03 +02:00
rte_power_pmd_mgmt.h power: remove unneeded header includes 2022-06-21 16:46:56 +02:00
rte_power.c eal: remove unneeded includes from a public header 2022-09-21 15:31:03 +02:00
rte_power.h lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
version.map power: add Intel uncore frequency control 2022-10-10 14:53:40 +02:00