From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f47.google.com (mail-lf0-f47.google.com [209.85.215.47]) by dpdk.org (Postfix) with ESMTP id DA8BD1B6D8 for ; Tue, 15 May 2018 19:19:59 +0200 (CEST) Received: by mail-lf0-f47.google.com with SMTP id w202-v6so1351355lff.12 for ; Tue, 15 May 2018 10:19:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=cmi9jW1RjlJaHR3GAgGKkjwjQjJ7FJWsrQq8WBwkqok=; b=Ke7xSgu/9ptF7tXiadLrerDkje0CYDnOI9Mfmm36qjbAQI7G1mxzP48bxVzE7Yimok E4X6tGeLBbcrEQ6eBLboY5RNhyusc899fCELOsra7nzVJ7zAbYEr02TPV1t0PZNIJzyk YCwwWo9no1jje1OpgUpchUuL4CnRuYrbLnW/Fjy915l5F4Lz4b/O5lOPZM+7eqI8/a+c dJpxoiZbfcUZQ4i5LBswCg/jfE8EYrOZS24qZMRWHZww0gFJJeDmw77Ei0ypOJvVZMiH LJ3GtAtA16q5dqFhN6yTUx62QHteybXEoLojle6+Kq7WK50Wqba1Bn88/Atpy4yQcDlb Y5KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=cmi9jW1RjlJaHR3GAgGKkjwjQjJ7FJWsrQq8WBwkqok=; b=EADEWha6ha82UrSDXSHWG2a2Z64xS9ndMsKRHJQsl7DJWlwXUgm6tCUCYSsMeLuF0A oIHUwMtvWIaroGlSsLrVOo5grdIB6wWzsfRZXkP6KpcVguKxlGXiRH58C/PusCinRpwT vtKgBagiyfRA7iUhSTMkleh34Ih0Kt8sUFp2wUlmwy/F4kYhslzxeFjLoEIuqgOtmX96 6aAwaGyDDITWj0SIKEOxgb0orMlGapSHtB2cRAYXUOyLjG96eRbGoPzXbdWfcL8JfcDR YJLC35tVDR88Gea83FuqfzL/GRssPOGIHEYSfRj7UesZTLCTDJYKS5TcvvBHeDz3D8GH FqYA== X-Gm-Message-State: ALKqPwepjOGr7V1UMRprNnw63ozgjGVfbWzFDXWKvhUJ3zyQbf28U2rU 8+ipsPgsSuh7B9ACaqGnlT4= X-Google-Smtp-Source: AB8JxZqWh2voXJNVNZ7LQw30LIVPTTCK/0d3aS0rrL/nD5HlDP/sqZgZ3xqzBz/YYW3uKBf65uPT4A== X-Received: by 2002:a19:4a92:: with SMTP id x140-v6mr13236111lfa.51.1526404799395; Tue, 15 May 2018 10:19:59 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id t22-v6sm72718lji.75.2018.05.15.10.19.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 May 2018 10:19:58 -0700 (PDT) From: luca.boccassi@gmail.com To: David Hunt Cc: Pablo de Lara , dpdk stable Date: Tue, 15 May 2018 18:19:11 +0100 Message-Id: <20180515171933.12882-10-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180515171933.12882-1-luca.boccassi@gmail.com> References: <20180501104509.17238-46-luca.boccassi@gmail.com> <20180515171933.12882-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'test/distributor: fix return type of thread function' has been queued to LTS release 16.11.7 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: , X-List-Received-Date: Tue, 15 May 2018 17:20:00 -0000 Hi, FYI, your patch has been queued to LTS release 16.11.7 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/16/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From ce7b39efe9efd46b2f5804d24a1fb3187092d86f Mon Sep 17 00:00:00 2001 From: David Hunt Date: Thu, 10 May 2018 02:25:38 +0100 Subject: [PATCH] test/distributor: fix return type of thread function [ upstream commit 1d2ff358ff2fe236a17e22eeb28ecf013814f022 ] New warning with gcc 8.1: When casting the function pointer passed to rte_eal_remote_launch() as an lcore_function_t *, it expects the cast function to return an int, but instead it was returning void. Fixed to return an int. Fixes: c3eabff124e6 ("distributor: add unit tests") Signed-off-by: David Hunt Acked-by: Pablo de Lara --- app/test/test_distributor_perf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/test/test_distributor_perf.c b/app/test/test_distributor_perf.c index 7947fe9b1..cc6219639 100644 --- a/app/test/test_distributor_perf.c +++ b/app/test/test_distributor_perf.c @@ -57,7 +57,7 @@ struct worker_stats worker_stats[RTE_MAX_LCORE]; /* worker thread used for testing the time to do a round-trip of a cache * line between two cores and back again */ -static void +static int flip_bit(volatile uint64_t *arg) { uint64_t old_val = 0; @@ -67,6 +67,7 @@ flip_bit(volatile uint64_t *arg) old_val = *arg; *arg = 0; } + return 0; } /* test case to time the number of cycles to round-trip a cache line between -- 2.14.2