Messages in this thread Patch in this message | | | Date | Fri, 12 Jul 2002 17:05:23 -0600 (MDT) | From | Thunder from the hill <> | Subject | Re: Compile warning in fs/partitions/check.c |
| |
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); struct driver_file_entry { struct driver_dir_entry * parent; Not yet tested to compile, just on it...
Regards, Thunder -- (Use http://www.ebb.org/ungeek if you can't decode) ------BEGIN GEEK CODE BLOCK------ Version: 3.12 GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$ N--- o? K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G e++++ h* r--- y- ------END GEEK CODE BLOCK------ - 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/
| |