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

2020-07-14 Thread Anatoly Burakov
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 Acked-by: David Hunt --- Notes: v3: - Check if last character is really a newline before removi

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

2020-07-14 Thread Ma, LihongX
Tested-by:ma,Lihong Regards, Ma,lihong -Original Message- From: dev On Behalf Of Anatoly Burakov Sent: Tuesday, July 14, 2020 6:30 PM To: dev@dpdk.org Cc: Hunt, David ; Pattan, Reshma ; Richardson, Bruce Subject: [dpdk-dev] [PATCH v3 1/2] power: fix power management env detection

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

2020-07-17 Thread Bruce Richardson
On Tue, Jul 14, 2020 at 11:30:01AM +0100, 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 > Acked-by: David Hunt > --

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

2020-07-21 Thread Thomas Monjalon
17/07/2020 14:50, Bruce Richardson: > On Tue, Jul 14, 2020 at 11:30:01AM +0100, 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