[dpdk-dev] [PATCH 1/2] power: fix power management env detection

Hunt, David david.hunt at intel.com
Mon Jul 13 14:26:26 CEST 2020


On 13/7/2020 1:15 PM, Anatoly Burakov wrote:
> Anything coming from sysfs has a newline at the end. Cut it off before
> comparing the strings.
>
> Fixes: 20ab67608a39 ("power: add environment capability probing")
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
>   lib/librte_power/power_common.c | 5 +++++
>   1 file changed, 5 insertions(+)


Acked-by: David Hunt <david.hunt at intel.com)







More information about the dev mailing list