Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 20 Apr 2001 03:50:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 20 Apr 2001 03:50:45 -0400 Received: from t2.redhat.com ([199.183.24.243]:56307 "HELO executor.cambridge.redhat.com") by vger.kernel.org with SMTP id ; Fri, 20 Apr 2001 03:50:39 -0400 To: "David S. Miller" Cc: torvalds@transmeta.com, dhowells@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] generic rw_semaphores, compile warnings patch In-Reply-To: Your message of "Thu, 19 Apr 2001 16:43:52 PDT." <15071.30776.914468.900710@pizda.ninka.net> Date: Fri, 20 Apr 2001 08:50:38 +0100 Message-ID: <24459.987753038@warthog.cambridge.redhat.com> From: David Howells Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org David S. Miller wrote: > D.W.Howells writes: > > This patch (made against linux-2.4.4-pre4) gets rid of some warnings obtained > > when using the generic rwsem implementation. > > Have a look at pre5, this is already fixed. Not entirely so... There's also a missing "struct rw_semaphore;" declaration in linux/rwsem.h. It needs to go in the gap below "#include ". Otherwise the declarations for the contention handling functions will give warnings about the struct being declared in the parameter list. David - 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/