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 21F44A053B; Fri, 17 Jul 2020 14:51:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 016C01C10A; Fri, 17 Jul 2020 14:51:01 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 0F8DD1C0D8 for ; Fri, 17 Jul 2020 14:50:58 +0200 (CEST) IronPort-SDR: iBoaep04HPdkEKnaV51o3LALZCvYfEnQi1VQd17j1VS6UcObmORmwyqE9e3ezohfSzA/xfBwU4 7j22XSnyPyow== X-IronPort-AV: E=McAfee;i="6000,8403,9684"; a="234432821" X-IronPort-AV: E=Sophos;i="5.75,362,1589266800"; d="scan'208";a="234432821" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jul 2020 05:50:58 -0700 IronPort-SDR: MeHKHXtsabLCLneNq5sbOVOujfZp4wAsoEIpMOVqcse6DR3pA+pcSZKCLiKtrluqGnGq0y1EI7 isyCs8xGstDw== X-IronPort-AV: E=Sophos;i="5.75,362,1589266800"; d="scan'208";a="430831780" Received: from bricha3-mobl.ger.corp.intel.com ([10.213.193.115]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 17 Jul 2020 05:50:56 -0700 Date: Fri, 17 Jul 2020 13:50:53 +0100 From: Bruce Richardson To: Anatoly Burakov Cc: dev@dpdk.org, David Hunt , reshma.pattan@intel.com Message-ID: <20200717125053.GD708@bricha3-MOBL.ger.corp.intel.com> References: <42bebf7cebd2b635a60b626faf605df6d8a277c1.1594652063.git.anatoly.burakov@intel.com> <7fcd224245cddd24d5457f1d6ba29c563006c4d6.1594722597.git.anatoly.burakov@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7fcd224245cddd24d5457f1d6ba29c563006c4d6.1594722597.git.anatoly.burakov@intel.com> Subject: Re: [dpdk-dev] [PATCH v3 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 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 > --- Reviewed-by: Bruce Richardson