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.bura...@intel.com> --- lib/librte_power/power_common.c | 5 +++++ 1 file changed, 5 insertions(+)
Acked-by: David Hunt <david.h...@intel.com)