Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 29 Nov 2001 02:41:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 29 Nov 2001 02:41:07 -0500 Received: from ns.virtualhost.dk ([195.184.98.160]:14343 "EHLO virtualhost.dk") by vger.kernel.org with ESMTP id ; Thu, 29 Nov 2001 02:41:02 -0500 Date: Thu, 29 Nov 2001 08:40:39 +0100 From: Jens Axboe To: Alan Cox Cc: Greg KH , linux-kernel@vger.kernel.org Subject: Re: [PATCH] fix for drivers/char/pc_keyb.c in 2.5.1-pre3 Message-ID: <20011129084039.D5788@suse.de> In-Reply-To: <20011128163810.C2512@kroah.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 29 2001, Alan Cox wrote: > > Here's a patch for 2.5.1-pre3 to fix the compile time problems in > > drivers/char/pc_keyb.c. It also fixes the places where the flags > > variable is the wrong type. > > This is the diff I'm using. It > @@ -1052,14 +1052,14 @@ > > static int release_aux(struct inode * inode, struct file * file) > { > - int flags; > + unsigned long flags; > fasync_aux(-1, file, 0); > - spin_lock_irqsave( &aux_count, flags ); > + spin_lock_irqsave(&aux_count, flags); s/aux_count/aux_count_lock typo -- Jens Axboe - 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/