From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3 22/24] rte_hash_crc.h: stack vars declared at top of function Date: Sun, 13 May 2018 22:44:07 +0200 Message-ID: <5360593.7KZXhYMdno@xps> References: <152609021699.121661.5295227351721865436.stgit@localhost.localdomain> <152609043291.121661.10977996123332031645.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, stable@dpdk.org To: Andy Green Return-path: In-Reply-To: <152609043291.121661.10977996123332031645.stgit@localhost.localdomain> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 12/05/2018 04:00, Andy Green: > /projects/lagopus/src/dpdk/build/include/rte_hash_crc.h: > In function 'crc32c_2words': > /projects/lagopus/src/dpdk/build/include/rte_hash_crc.h:347:2: > warning: ISO C90 forbids mixed declarations and code > [-Wdeclaration-after-statement] > uint32_t crc, term1, term2; Fixes: d983cf41698f ("hash: add software CRC32 implementation") Cc: stable@dpdk.org > Signed-off-by: Andy Green Applied, thanks