From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 5A3711C754; Mon, 14 May 2018 12:26:01 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B628D221C9; Mon, 14 May 2018 06:26:00 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 14 May 2018 06:26:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=69a7gdxDafd5vykwaVPxlkEiWx my14UTtat+cJZneOA=; b=NIBX23rK4VAeRcupIhnwdf/nLPOLM1tFIn2HJKLIVQ 6oIYT2P6PthUSoGucsCAxvtt+tIo5+0KVW00fcnkw8kEMB6SpsGpk/cEnEkt0mRx RSXLw21HH1dyiGoqY0MctGvIK85898OEuk7WOSgWUjY3W3eNjCwzjcRvYAjvnYOU 0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=69a7gd xDafd5vykwaVPxlkEiWxmy14UTtat+cJZneOA=; b=Bw2/IMtC7ViEmJyApNuhfA URCnEdn6I2FMWhStwRzA5AxMMCNlszjBN4K8f8WkC/7QKPkX8fkr5Qq3eeLHWlHe 93/oeCe8BVxLCu5fSLeG+FUoafqAKmqzsFI9Fh1LjW1byOvDWJAeiM9AderjPHNY niN+x0/P34CtAHWNhOoVeuUXouaJrVOG0jbFUofq2V+OqjHFg0CylvshNzTFx2H1 G9lnvqoDGqT80f3g4uJQpDv0HJY6CrUbwxMQRCQOXet1KlRPcxjeWbacfRzLA20s mbWNB+0HCV/cPci5sxN4nMXkrRxWrexbbsrRzuesDXfHSTcVlJOpV1WeKmHRLWGQ == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id EF98CE4350; Mon, 14 May 2018 06:25:59 -0400 (EDT) From: Thomas Monjalon To: David Hunt Cc: dev@dpdk.org, john.mcnamara@intel.com, stable@dpdk.org Date: Mon, 14 May 2018 12:25:58 +0200 Message-ID: <1534703.MBAexOQAkQ@xps> In-Reply-To: <20180514025315.87149-1-david.hunt@intel.com> References: <20180510053112.25491-1-david.hunt@intel.com> <20180514025315.87149-1-david.hunt@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] examples: fix typdef in performance thread app 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: , X-List-Received-Date: Mon, 14 May 2018 10:26:01 -0000 14/05/2018 04:53, David Hunt: > The function pthread_create() expects void *(*func) (void *) > for function pointer, however, lthread_func_t was defined as > void (*func) (void *), so now gcc 8.1 warns that the cast is > incorrect, causing a compilation failure. This patch changes > the declaration of lthread_func_t from returning a void to > returning a void*, and then changes the sample app in the > relevant places that are affected by the typedef change. > > Fixes: 116819b9ed0d ("examples/performance-thread: add lthread subsystem") > > Signed-off-by: David Hunt > Acked-by: Pablo de Lara Title: examples/performance-thread: fix return type of threads Applied, thanks