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 291F61D1C4; Sun, 13 May 2018 22:42:11 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 79B2624EC6; Sun, 13 May 2018 16:42:11 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 13 May 2018 16:42:11 -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=ek1c4Mmrrt4HelMXWcP2KqahjC ONnOGbrxHylNM/wZ0=; b=k7v1OukDANV84cYj5rW0azf9JYJhzqji+dcGTHuCBH F5MEvLqdVG8fqK6SpPXN33WEiUCjgXW246Ga7agSH5AecL/JEdZe1gUJaHaFErBT zjA+JjyoQ99ppcxokE1Dq0dW80QXupUODg8aAwTKJ9SBvIvyRsUvklXaXB8euDLh o= 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=ek1c4M mrrt4HelMXWcP2KqahjCONnOGbrxHylNM/wZ0=; b=ARagRjNE8AYWgTe1eCYMH9 LqMsiKhaOI4rX1iBa8cNFwqKBB67JRGLE+yvrCE5HnPzuBfYo9i1ZHRIN4MrgR9Z SkDQCoq0ihRI1MoqqgBSko204D3zNp0KiSBEP5/7gRkvwyRhQNCOV3oAvntlyLVU hdz5izl7M/ghLZC0/5FVIgFZfXoxBrZOEXq4qc9HZffOo+5NPtwazT2Sv5GgbF4h 6BfhpjhSgd4QvaFkhDqn1+UZWDXSRA7Ao4G3FH/mRaErJbtz0X7EtAYUBNVKeq1u jeRwaZzptTKiP609MwcSG6t6CauZ7pmJ2/lsq5ocuabIeEvOQOv3Ujdscjt+o46w == 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 E7057E4123; Sun, 13 May 2018 16:42:10 -0400 (EDT) From: Thomas Monjalon To: Andy Green Cc: dev@dpdk.org, stable@dpdk.org Date: Sun, 13 May 2018 22:42:09 +0200 Message-ID: <2375295.AOUgtt1Tih@xps> In-Reply-To: <152609035743.121661.16417462726686469432.stgit@localhost.localdomain> References: <152609021699.121661.5295227351721865436.stgit@localhost.localdomain> <152609035743.121661.16417462726686469432.stgit@localhost.localdomain> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 07/24] rte_spinlock.h: stack declarations before code 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: Sun, 13 May 2018 20:42:12 -0000 12/05/2018 03:59, Andy Green: > /projects/lagopus/src/dpdk/build/include/rte_spinlock.h: > In function 'rte_try_tm': > /projects/lagopus/src/dpdk/build/include/rte_spinlock.h:82:2: > warning: ISO C90 forbids mixed declarations and code > [-Wdeclaration-after-statement] > int retries = RTE_RTM_MAX_RETRIES; Fixes: ba7468997ea6 ("spinlock: add HTM lock elision for x86") Cc: stable@dpdk.org > Signed-off-by: Andy Green Applied, thanks