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 AA2CBA3295 for ; Wed, 23 Oct 2019 12:42:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E15C71C19F; Wed, 23 Oct 2019 12:41:04 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id BFF7A1C0DD; Wed, 23 Oct 2019 12:40:35 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Oct 2019 03:40:34 -0700 X-IronPort-AV: E=Sophos;i="5.68,220,1569308400"; d="scan'208";a="191792410" Received: from dhunt5-mobl4.ger.corp.intel.com (HELO [10.237.221.107]) ([10.237.221.107]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/AES256-SHA; 23 Oct 2019 03:40:33 -0700 To: Bruce Richardson , dev@dpdk.org Cc: stable@dpdk.org References: <20191014113448.7442-1-bruce.richardson@intel.com> <20191022154310.41238-1-bruce.richardson@intel.com> <20191022154310.41238-9-bruce.richardson@intel.com> From: "Hunt, David" Message-ID: <4c6bc5e3-f590-b5d0-a552-cb6cf73c544d@intel.com> Date: Wed, 23 Oct 2019 11:40:32 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20191022154310.41238-9-bruce.richardson@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [dpdk-dev] [PATCH v3 8/9] examples/guest_cli: fix type of cmdline token 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 22/10/2019 16:43, Bruce Richardson wrote: > Building the example with clang gives the error: > > error: expression which evaluates to zero treated as a null pointer > constant of type 'const char *' [-Werror,-Wnon-literal-null-conversion] > lcore_id, UINT8); > ^~~~~ > > This error is due to the wrong data type being given for the > cmd_set_cpu_freq_core_num value - it was specified as string rather than > numeric type. > > Fixes: f5e5c3347ae3 ("examples/vm_power: cli in guest") > Cc: stable@dpdk.org > > Signed-off-by: Bruce Richardson > --- Acked-by: David Hunt