From: Keir Fraser Subject: Re: [PATCH] introduce __must_be_array Date: Wed, 20 May 2009 06:15:53 -0700 Message-ID: References: <4A141BFB0200007800001C73@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A141BFB0200007800001C73@vpn.id2.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 20/05/2009 06:04, "Jan Beulich" wrote: > Cloning the similar construct from Linux, allowing to detect improper > uses of ARRAY_SIZE() at build time. > > Signed-off-by: Jan Beulich Would simply removing the cast to void from BUILD_BUG_ON() lead to compiler warnings? -- Keir