Power QoS uses the common decimal macro definition to replace magic number.
Signed-off-by: Huisong Li <[email protected]> --- lib/power/rte_power_qos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/power/rte_power_qos.c b/lib/power/rte_power_qos.c index be230d1c50..f991230532 100644 --- a/lib/power/rte_power_qos.c +++ b/lib/power/rte_power_qos.c @@ -115,7 +115,7 @@ rte_power_qos_get_cpu_resume_latency(uint16_t lcore_id) if (strcmp(buf, "n/a") == 0) latency = RTE_POWER_QOS_STRICT_LATENCY_VALUE; else { - latency = strtoul(buf, NULL, 10); + latency = strtoul(buf, NULL, POWER_CONVERT_TO_DECIMAL); latency = latency == 0 ? RTE_POWER_QOS_RESUME_LATENCY_NO_CONSTRAINT : latency; } -- 2.33.0

