From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6C883A0540; Mon, 13 Jul 2020 14:26:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4C5671D69D; Mon, 13 Jul 2020 14:26:31 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id EDC281D67F for ; Mon, 13 Jul 2020 14:26:29 +0200 (CEST) IronPort-SDR: FQrHRqKkMuFodJ3LzQlNmeJSwXW2pVsj1Hd5Z7haNAmSzpfdYxG+7i9Lr3PU+Dt0c12AwGZOLS gx+4kGNrmZcQ== X-IronPort-AV: E=McAfee;i="6000,8403,9680"; a="150056485" X-IronPort-AV: E=Sophos;i="5.75,347,1589266800"; d="scan'208";a="150056485" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jul 2020 05:26:29 -0700 IronPort-SDR: 9k+Tx1nhzsuvq+f+iosdotV94U1gKE1l6mah0xRraiySOOiM1wb4VI31WDZ173HLghzMceAWrR 0wQ3HPskOpTg== X-IronPort-AV: E=Sophos;i="5.75,347,1589266800"; d="scan'208";a="459274265" Received: from dhunt5-mobl5.ger.corp.intel.com (HELO [10.213.247.148]) ([10.213.247.148]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jul 2020 05:26:28 -0700 To: Anatoly Burakov , dev@dpdk.org Cc: reshma.pattan@intel.com References: From: "Hunt, David" Message-ID: <545dc2e5-04dd-54da-27ba-c49dac46cd52@intel.com> Date: Mon, 13 Jul 2020 13:26:26 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [dpdk-dev] [PATCH 1/2] power: fix power management env detection X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > --- > lib/librte_power/power_common.c | 5 +++++ > 1 file changed, 5 insertions(+) Acked-by: David Hunt