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 08D5B1CD09; Sun, 13 May 2018 22:42:59 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A266624EC6; Sun, 13 May 2018 16:42:58 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 13 May 2018 16:42:58 -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=pH4BGCeXN52VYz9ZibAbxzxdfc +g/VUv+p3zY2cvbpU=; b=UCTmDQn8fYW3UqrB28ZvUWGFmJnmi8byW4y5Rl/0by mxkHvxHlBTE7CXqi9JQ6GSY4cbeBVXVv03ah7ENNLhBH6ahNia8Vy6I3wZcLI4ia +pbJVVr81lBDEoZ19ZQxnoiD7mEo6I9yZhxWmg2Gw74UmgSP5twg5vgOYQDkbU1W c= 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=pH4BGC eXN52VYz9ZibAbxzxdfc+g/VUv+p3zY2cvbpU=; b=PTp/UG+JAXj+tW0F0Eg22J tqy9yUSqSTD3grAmo/7lFdIzmrPbONCO5AwDjOdvye1EskgWCKHgczbPotlJb49s k1ebyYmkPtdVeIOrWnTNPWeIa/GxWR6W8ivmYNjuZinj1XwvsrPQ+Yf6LdHnagkV 2et8SILoZKaRiQj/YMXU7FnSpiPOnmsWR4RNzfDw2tu9ietj7DL9CaBtkAMWXwk5 JW/fA5061i9ZBDzUGtvk5dFBlR4AJSO9ptbqtrpx1p1uT4B/5zhIlHUv9J0xq7st 39oNeODO7KoILXUf9v1Rx5kp4bZRohBEReG+tNWvdMvWq7Qav6SxuEy1Vdco/MTA == 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 10AB8E4393; Sun, 13 May 2018 16:42:57 -0400 (EDT) From: Thomas Monjalon To: Andy Green Cc: dev@dpdk.org, stable@dpdk.org Date: Sun, 13 May 2018 22:42:57 +0200 Message-ID: <2204550.NiTezdOFRo@xps> In-Reply-To: <152609041781.121661.10252991105854625648.stgit@localhost.localdomain> References: <152609021699.121661.5295227351721865436.stgit@localhost.localdomain> <152609041781.121661.10252991105854625648.stgit@localhost.localdomain> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 19/24] rte_ether.h: stack vars declared at top of function 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:59 -0000 12/05/2018 04:00, Andy Green: > /projects/lagopus/src/dpdk/build/include/rte_ether.h: > In function 'rte_vlan_strip': > /projects/lagopus/src/dpdk/build/include/rte_ether.h:357:2: > warning: ISO C90 forbids mixed declarations and code > [-Wdeclaration-after-statement] > struct vlan_hdr *vh = (struct vlan_hdr *)(eh + 1); Fixes: c974021a5949 ("ether: add soft vlan encap/decap") Cc: stable@dpdk.org > Signed-off-by: Andy Green Applied, thanks