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
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
> --
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
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
4 matches
Mail list logo