Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2993371AbXEBPcw (ORCPT ); Wed, 2 May 2007 11:32:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S2993373AbXEBPcw (ORCPT ); Wed, 2 May 2007 11:32:52 -0400 Received: from vervifontaine.sonytel.be ([80.88.33.193]:45943 "EHLO vervifontaine.sonycom.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2993372AbXEBPcv (ORCPT ); Wed, 2 May 2007 11:32:51 -0400 Date: Wed, 2 May 2007 17:32:49 +0200 (CEST) From: Geert Uytterhoeven To: Christoph Hellwig cc: Dave Jones , Andrew Morton , Randy Dunlap , linux-kernel@vger.kernel.org Subject: Re: checkpatch, a patch checking script. In-Reply-To: <20070502152906.GA29642@infradead.org> Message-ID: References: <20070423141123.GA21174@skybase> <20070423104534.51bac974.akpm@linux-foundation.org> <20070425112133.4ae86399.randy.dunlap@oracle.com> <20070425143011.57247c1d.akpm@linux-foundation.org> <20070425172447.1576c399.akpm@linux-foundation.org> <20070426003911.GA19383@redhat.com> <4630109F.6090002@oracle.com> <20070425200207.77a2721a.akpm@linux-foundation.org> <20070428030805.GA13331@redhat.com> <20070502152906.GA29642@infradead.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 847 Lines: 24 On Wed, 2 May 2007, Christoph Hellwig wrote: > On Wed, May 02, 2007 at 04:28:27PM +0200, Geert Uytterhoeven wrote: > > - Check for GNU extension __FUNCTION__ > > __FUNCTION__ is prefered over __func__ Is there a reason for that? - __FUNCTION__ is a GNU extension - __func__ is C99 - __func__ is shorter to type ;-) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- Sony Network and Software Technology Center Europe (NSCE) Geert.Uytterhoeven@sonycom.com ------- The Corporate Village, Da Vincilaan 7-D1 Voice +32-2-7008453 Fax +32-2-7008622 ---------------- B-1935 Zaventem, Belgium - 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/