From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] hash: validate hash bucket entries while compiling Date: Fri, 13 Jul 2018 23:40:09 +0200 Message-ID: <6777404.RLFGYKfp85@xps> References: <20180531153049.41306-1-honnappa.nagarahalli@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "De Lara Guarch, Pablo" , "Richardson, Bruce" To: Honnappa Nagarahalli 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) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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.