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 2F727A04F0 for ; Tue, 10 Dec 2019 16:01:12 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 259451BE80; Tue, 10 Dec 2019 16:01:12 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id 549621BE82 for ; Tue, 10 Dec 2019 16:01:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575990069; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=daSBQkuF1063iBrMvYard7R5Zp+lwMZtlxjyTU+5oa8=; b=Z5VHDjJUCszDCKgxhuQXfpmEP57A/QPt0WMonzRrHtIOOEPy8XyHoxy1qIPJ2LK1jE1YDd joli6xviRs+GcwwNE1lQT6kcWdSfTu77dgGGMiCInMMnG3EQ4Q8SGgH1ahbehe0E8PPXpL s2rlc9+7EYG1sbfGptAIHzPU8c+9m4w= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-203-k9phersTMxa5S_X5kEwn5g-1; Tue, 10 Dec 2019 10:01:08 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2D80210054E3; Tue, 10 Dec 2019 15:01:07 +0000 (UTC) Received: from rh.redhat.com (ovpn-116-64.ams2.redhat.com [10.36.116.64]) by smtp.corp.redhat.com (Postfix) with ESMTP id 31FAA5D9C5; Tue, 10 Dec 2019 15:01:06 +0000 (UTC) From: Kevin Traynor To: Bruce Richardson Cc: David Hunt , dpdk stable Date: Tue, 10 Dec 2019 14:59:15 +0000 Message-Id: <20191210145937.32755-41-ktraynor@redhat.com> In-Reply-To: <20191210145937.32755-1-ktraynor@redhat.com> References: <20191210145937.32755-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-MC-Unique: k9phersTMxa5S_X5kEwn5g-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-stable] patch 'examples/vm_power: fix type of cmdline token in cli' has been queued to LTS release 18.11.6 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to LTS release 18.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 12/16/19. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasi= ng (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable-queue This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable-queue/commit/9945223e20cecac026= 735c3ef48db9cd19368b54 Thanks. Kevin. --- >From 9945223e20cecac026735c3ef48db9cd19368b54 Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Tue, 22 Oct 2019 16:43:09 +0100 Subject: [PATCH] examples/vm_power: fix type of cmdline token in cli [ upstream commit 99dc01446e62361d8d0046c2e007bba86cb8ec30 ] 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") Signed-off-by: Bruce Richardson Acked-by: David Hunt --- examples/vm_power_manager/guest_cli/vm_power_cli_guest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c b/exa= mples/vm_power_manager/guest_cli/vm_power_cli_guest.c index 2d9e7689a..1a55479a2 100644 --- a/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c +++ b/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c @@ -159,5 +159,5 @@ cmdline_parse_token_string_t cmd_set_cpu_freq =3D =09TOKEN_STRING_INITIALIZER(struct cmd_set_cpu_freq_result, =09=09=09set_cpu_freq, "set_cpu_freq"); -cmdline_parse_token_string_t cmd_set_cpu_freq_core_num =3D +cmdline_parse_token_num_t cmd_set_cpu_freq_core_num =3D =09TOKEN_NUM_INITIALIZER(struct cmd_set_cpu_freq_result, =09=09=09lcore_id, UINT8); --=20 2.21.0 --- Diff of the applied patch vs upstream commit (please double-check if non-= empty: --- --- -=092019-12-10 14:49:41.847141346 +0000 +++ 0041-examples-vm_power-fix-type-of-cmdline-token-in-cli.patch=092019-12= -10 14:49:39.071457413 +0000 @@ -1 +1 @@ -From 99dc01446e62361d8d0046c2e007bba86cb8ec30 Mon Sep 17 00:00:00 2001 +From 9945223e20cecac026735c3ef48db9cd19368b54 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 99dc01446e62361d8d0046c2e007bba86cb8ec30 ] + @@ -18 +19,0 @@ -Cc: stable@dpdk.org @@ -27 +28 @@ -index fe09b0778..610d9aeac 100644 +index 2d9e7689a..1a55479a2 100644 @@ -30 +31 @@ -@@ -172,5 +172,5 @@ cmdline_parse_token_string_t cmd_set_cpu_freq =3D +@@ -159,5 +159,5 @@ cmdline_parse_token_string_t cmd_set_cpu_freq =3D