From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Whitehouse Subject: Re: [PATCH -mm] gfs2 lock function parameter Date: Wed, 29 Nov 2006 08:58:00 +0000 Message-ID: <1164790680.3752.31.camel@quoit.chygwyn.com> References: <20061128222919.89a7ac17.randy.dunlap@oracle.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org, cluster-devel@redhat.com, akpm Return-path: Received: from mx1.redhat.com ([66.187.233.31]:42200 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S966403AbWK2I6D (ORCPT ); Wed, 29 Nov 2006 03:58:03 -0500 To: Randy Dunlap In-Reply-To: <20061128222919.89a7ac17.randy.dunlap@oracle.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Hi, I've put this in the -nmw git tree. I'd pull it into the -fixes tree too, but its probably better to let Linus take whats there first and then I'll send this on later, Steve. On Tue, 2006-11-28 at 22:29 -0800, Randy Dunlap wrote: > From: Randy Dunlap > > Fix function parameter typing: > fs/gfs2/glock.c:100: warning: function declaration isn't a prototype > > Signed-off-by: Randy Dunlap > --- > fs/gfs2/glock.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- linux-2.6.19-rc6-mm2.orig/fs/gfs2/glock.c > +++ linux-2.6.19-rc6-mm2/fs/gfs2/glock.c > @@ -96,7 +96,7 @@ static inline rwlock_t *gl_lock_addr(uns > return &gl_hash_locks[x & (GL_HASH_LOCK_SZ-1)]; > } > #else /* not SMP, so no spinlocks required */ > -static inline rwlock_t *gl_lock_addr(x) > +static inline rwlock_t *gl_lock_addr(unsigned int x) > { > return NULL; > } > > > ---