Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262060AbVD1Lel (ORCPT ); Thu, 28 Apr 2005 07:34:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262051AbVD1Lel (ORCPT ); Thu, 28 Apr 2005 07:34:41 -0400 Received: from unthought.net ([212.97.129.88]:54935 "EHLO unthought.net") by vger.kernel.org with ESMTP id S262060AbVD1Lef (ORCPT ); Thu, 28 Apr 2005 07:34:35 -0400 Date: Thu, 28 Apr 2005 13:34:34 +0200 From: Jakob Oestergaard To: Lee Revell Cc: Jesper Juhl , David Addison , linux-kernel@vger.kernel.org, Andrew Morton , Andrea Arcangeli , David Addison Subject: Re: [PATCH][RFC] Linux VM hooks for advanced RDMA NICs Message-ID: <20050428113434.GD17359@unthought.net> Mail-Followup-To: Jakob Oestergaard , Lee Revell , Jesper Juhl , David Addison , linux-kernel@vger.kernel.org, Andrew Morton , Andrea Arcangeli , David Addison References: <426E62ED.5090803@quadrics.com> <1114535584.5410.2.camel@mindpipe> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1114535584.5410.2.camel@mindpipe> User-Agent: Mutt/1.3.28i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 885 Lines: 30 On Tue, Apr 26, 2005 at 01:13:04PM -0400, Lee Revell wrote: > On Tue, 2005-04-26 at 18:57 +0200, Jesper Juhl wrote: > > > > > > +static inline void > > > +ioproc_release(struct mm_struct *mm) > > > +{ > > > > Return types on same line as function name makes grep'ing a lot > > easier/nicer. > > > > Here's the example from Documentation/CodingStyle : > > > > int function(int x) > > { > > How so? I never understood the reasons. This makes it easier to grep > for everything that returns int. But you make the common case (what > file is function() defined in?) harder. etags/ctags end of story :) -- / jakob - 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/