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 8A1D12B94 for ; Fri, 13 Jul 2018 23:40:12 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1B4152188C; Fri, 13 Jul 2018 17:40:12 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 13 Jul 2018 17:40:12 -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=QSc3p59vr/Y4vsgHNhAP3UPrrV MFOuBXVcFIuDFgGxQ=; b=lQ5aWaXWNcp0p0o5T6zc0dTwk+O4waWfTsKWSU5HOF UYzMIXLeS4hL8X7SRcSAg492GNWpm082uNu7nnthfTEThNKUA0YY2Fo/iuw3K9Qu CUjjD969ui14ZiMHNZKMCnuOqD9zrdEeJRRUklzGqyr8seRwkUTPbICNwtm7/fsA 4= 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=fm3; bh=QSc3p5 9vr/Y4vsgHNhAP3UPrrVMFOuBXVcFIuDFgGxQ=; b=VmGA2Xo1nxbgmWBfpsXN+Z B0oDuiGDV/dCDDZHR7/9zK23JjioURIDChxokH/763RIFaTV+oJnnQTbLTXp14dv ZB7foe19HeTvbCo3WJ3ie36D7J0ss3seTGmThN78HK9aSZF5UnOZlO0lZXgwbarL /KRHXB/nuDu0SIaSjIa68ko6m3SQBp75Obq9BzOjQsbeGrMk1VZThsAz55+jC7zX 5tJjf+GaW/yNWAMC4RsamISj60xuL8QuxVFUtBIVYdASPlEhggFlnkZyDDXPAJsX XCEf9T3D9MznbvTTEL8OgBmmE8EA5XmNuHrjotxI1paALpy3CB0TG4OXww7isCkg == X-ME-Proxy: 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 C72DC10266; Fri, 13 Jul 2018 17:40:10 -0400 (EDT) From: Thomas Monjalon To: Honnappa Nagarahalli Cc: dev@dpdk.org, "De Lara Guarch, Pablo" , "Richardson, Bruce" Date: Fri, 13 Jul 2018 23:40:09 +0200 Message-ID: <6777404.RLFGYKfp85@xps> In-Reply-To: References: <20180531153049.41306-1-honnappa.nagarahalli@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] hash: validate hash bucket entries while compiling 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: Fri, 13 Jul 2018 21:40:12 -0000 13/07/2018 22:20, Honnappa Nagarahalli: > Hi Pablo, > Thank you for your response. I recently noticed this macro 'RTE_BUILD_BUG_ON'. Does it make sense to use this macro instead (though the error message will be more cryptic)? Yes, I've hesitated to suggest RTE_BUILD_BUG_ON, but decided to push your #error solution which should be fine.