Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755477AbZJSISt (ORCPT ); Mon, 19 Oct 2009 04:18:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752811AbZJSISs (ORCPT ); Mon, 19 Oct 2009 04:18:48 -0400 Received: from vpn.id2.novell.com ([195.33.99.129]:23397 "EHLO vpn.id2.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751176AbZJSISs convert rfc822-to-8bit (ORCPT ); Mon, 19 Oct 2009 04:18:48 -0400 Message-Id: <4ADC3D3C020000780001AA10@vpn.id2.novell.com> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Mon, 19 Oct 2009 09:19:40 +0100 From: "Jan Beulich" To: "Rusty Russell" Cc: "Haavard Skinnemoen" , "Haavard Skinnemoen" , "Andrew Morton" , "Alan Cox" , , , Subject: Re: [PATCH] serial/atmel_serial: Fix another fallout of the change to BUILD_BUG_ON References: <1255417680-25609-1-git-send-email-u.kleine-koenig@pengutronix.de> <20091013092644.72c78334@hskinnemoen-d830> <4AD44AF10200007800019801@vpn.id2.novell.com> <200910191638.41299.rusty@rustcorp.com.au> In-Reply-To: <200910191638.41299.rusty@rustcorp.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 622 Lines: 16 >>> Rusty Russell 19.10.09 08:08 >>> >How's this? It's not quite valid C, but it "works": But that's not what you proposed initially, i.e. generating a link time error if a compile time error can't be generated (and only if even a link time error isn't possible, a run time one should be forced). And btw., why do you think this isn't valid C? Jan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/