Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755452AbYC2Ryw (ORCPT ); Sat, 29 Mar 2008 13:54:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753413AbYC2Ryq (ORCPT ); Sat, 29 Mar 2008 13:54:46 -0400 Received: from terminus.zytor.com ([198.137.202.10]:37791 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753087AbYC2Ryp (ORCPT ); Sat, 29 Mar 2008 13:54:45 -0400 Message-ID: <47EE8261.6010300@zytor.com> Date: Sat, 29 Mar 2008 10:54:41 -0700 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: Al Viro CC: Jacek Luczak , linux-kernel@vger.kernel.org Subject: Re: Comma at end of enum lists References: <47EE75A0.8070705@gmail.com> <47EE7A66.30905@zytor.com> <20080329172551.GA9785@ZenIV.linux.org.uk> <47EE7C3A.5000909@zytor.com> <20080329175227.GB9785@ZenIV.linux.org.uk> In-Reply-To: <20080329175227.GB9785@ZenIV.linux.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 616 Lines: 20 Al Viro wrote: > > when you know there won't any additions past the last line (for that matter, > ending it with > Baz, > Sentry_foo, > Max_foo = Sentry_foo - 1 > }; is also an option, in which case the end of enum will never be touched > at all). > Yes, that's a very important exception. Don't put the comma in if you want the set to be actively closed. -hpa -- 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/