Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 12 Jul 2002 19:11:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 12 Jul 2002 19:11:34 -0400 Received: from 12-231-243-94.client.attbi.com ([12.231.243.94]:41992 "HELO kroah.com") by vger.kernel.org with SMTP id ; Fri, 12 Jul 2002 19:11:33 -0400 Date: Fri, 12 Jul 2002 16:14:06 -0700 From: Greg KH To: Thunder from the hill Cc: Linux Kernel Mailing List , Richard Gooch Subject: Re: Compile warning in fs/partitions/check.c Message-ID: <20020712231406.GB11995@kroah.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Operating-System: Linux 2.2.21 (i586) Reply-By: Fri, 14 Jun 2002 21:54:36 -0700 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1353 Lines: 35 On Fri, Jul 12, 2002 at 05:05:23PM -0600, Thunder from the hill wrote: > Hi, > > Possible fix for the show ones seems: > > Index: include/linux/driverfs_fs.h > =================================================================== > RCS file: /var/cvs/thunder-2.5/include/linux/driverfs_fs.h,v > retrieving revision 1.2 > diff -p -u -r1.2 driverfs_fs.h > --- include/linux/driverfs_fs.h 9 Jul 2002 12:15:28 -0000 1.2 > +++ include/linux/driverfs_fs.h 12 Jul 2002 23:04:08 -0000 > @@ -41,8 +41,8 @@ struct driver_dir_entry { > > struct device; > > -typedef ssize_t (*driverfs_show)(void * obj, char * buf, size_t count, loff_t off); > -typedef ssize_t (*driverfs_store)(void * obj, const char * buf, size_t count, loff_t off); > +typedef ssize_t (*driverfs_show)(struct device * obj, char * buf, size_t count, loff_t off); > +typedef ssize_t (*driverfs_store)(struct device * obj, const char * buf, size_t count, loff_t off); No, this patch is incorrect. See Pat's patch that was posted a few days ago. And I don't think Richard really wants to be bothered with driverfs questions :) thanks, greg k-h - 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/