From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id 034231B7A9 for ; Tue, 15 May 2018 15:48:15 +0200 (CEST) Received: by mail-wm0-f68.google.com with SMTP id j4-v6so1186256wme.1 for ; Tue, 15 May 2018 06:48:14 -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=ONZXZtBk7GtEG5yi8O6EJKBrskuRXdfVwrWWdsAOaEo=; b=Iz2y5G0+f9q+kGWBunjTBdotSA/+vmt2/FaV+MnTa14Pio6fZHbYexGaZsqpUQcrvf s4YYb/ZyE8er18uIl9N09pn8TW4IfTcR+uuTRt9H5k9wgg5D9f8sBHidAfeEgL8vQbfg vcPfOSDl6cAEDztiwA1RGQKFCTSY6gwAUeOVPbzk8KDdxhDl1Wa4FCXo1W7SEo1aoj4b TyOb4Qq/AL+DOHhwqEpx4XGlaic2aYQPl8Snx9sXhVqsaK2yk022Ky5N8eh9vmVC+X7/ 7lFj/OdYmnQVORZudg0D5hMwaxN6Yj9Ka9xu6/ID5Rl2xb7tth1f5zxyzLwLpx+M8JmG rUyw== 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=ONZXZtBk7GtEG5yi8O6EJKBrskuRXdfVwrWWdsAOaEo=; b=FSNyccG5mtz0aZfWZ7asaICNaCAoiX0GYMdVp2x65MWM82BkPpHO78XiOVA+YpvG2B iqsmRAsbEJoX+5RHla5MaNfF7mVrNr/OEt3WsLxmlTwpQTIAbFdVQy4WwB5qgHzf0Wm7 kSM2VkHc9FlCdw6FAnNsupvTU/Y9o6E3XteVeR3A1vWmrEwMDRM/o0SZ0rYL7BwB5zxQ WW0NGDrNZtvk4edTYEpWCQQlsmABiHWsB1oX/DdWr655LDUZNMdOO/3TuBzDSp2putcz Dmey0gRIQxO/Rkrt/J4BiOYvAn9t8B/8H69qlkp/tFtlPtgSN7KwcBSjZN7kdtsIXLYu RH5Q== X-Gm-Message-State: ALKqPwcKHNHjMhScMp7+dgE2UdAQdXrL7hHK+GlQ5YTp974siBZ9pKAG 6DjwKE0dj/PK1X356oTOMrw= X-Google-Smtp-Source: AB8JxZqgxd7C8ngHdkKFDZd3qQzpgomMyAY4XQR7UylXqxfogBHSIWjZ1EtfnoNibLYd7xFtJsXyyA== X-Received: by 2002:a1c:1a49:: with SMTP id a70-v6mr8609679wma.77.1526392094711; Tue, 15 May 2018 06:48:14 -0700 (PDT) Received: from localhost (slip139-92-244-193.lon.uk.prserv.net. [139.92.244.193]) by smtp.gmail.com with ESMTPSA id z2-v6sm592882wmg.46.2018.05.15.06.48.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 May 2018 06:48:13 -0700 (PDT) From: luca.boccassi@gmail.com To: David Hunt Cc: Pablo de Lara , dpdk stable Date: Tue, 15 May 2018 14:46:30 +0100 Message-Id: <20180515134731.9337-19-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180515134731.9337-1-luca.boccassi@gmail.com> References: <20180503110612.12146-2-luca.boccassi@gmail.com> <20180515134731.9337-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'test/distributor: fix return type of thread function' has been queued to stable release 18.02.2 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 13:48:15 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 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 244beff23138e68f6a1f5bf45bbd27f750416d3d 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 --- test/test/test_distributor_perf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test/test_distributor_perf.c b/test/test/test_distributor_perf.c index 557715e13..edf1998ab 100644 --- a/test/test/test_distributor_perf.c +++ b/test/test/test_distributor_perf.c @@ -31,7 +31,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; @@ -41,6 +41,7 @@ flip_bit(volatile uint64_t *arg) old_val = *arg; *arg = 0; } + return 0; } /* -- 2.14.2