DragonFly BSD
DragonFly submit List (threaded) for 2006-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

linprocfs_vnops warnings remove


From: Alexey Slynko <slynko@xxxxxxxxx>
Date: Wed, 18 Jan 2006 20:25:52 +0300

Hi,

1) Add proper type cast
Index: /usr/src1/sys/emulation/linux/i386/linprocfs/linprocfs_vnops.c
===================================================================
RCS file: /mnt/share/dragonfly-cvs/src/sys/emulation/linux/i386/linprocfs/linprocfs_vnops.c,v
retrieving revision 1.24
diff -u -r1.24 linprocfs_vnops.c
--- /usr/src1/sys/emulation/linux/i386/linprocfs/linprocfs_vnops.c	10 Dec 2005 16:06:20 -0000	1.24
+++ /usr/src1/sys/emulation/linux/i386/linprocfs/linprocfs_vnops.c	17 Jan 2006 22:37:25 -0000
@@ -1018,30 +1018,30 @@
  */
 struct vnodeopv_entry_desc linprocfs_vnodeop_entries[] = {
 	{ &vop_default_desc,		vop_defaultop },
-	{ &vop_access_desc,		(void *) linprocfs_access },
-	{ &vop_advlock_desc,		(void *) linprocfs_badop },
-	{ &vop_bmap_desc,		(void *) linprocfs_bmap },
-	{ &vop_close_desc,		(void *) linprocfs_close },
-	{ &vop_old_create_desc,		(void *) linprocfs_badop },
-	{ &vop_getattr_desc,		(void *) linprocfs_getattr },
-	{ &vop_inactive_desc,		(void *) linprocfs_inactive },
-	{ &vop_old_link_desc,		(void *) linprocfs_badop },
-	{ &vop_old_lookup_desc,		(void *) linprocfs_lookup },
-	{ &vop_old_mkdir_desc,		(void *) linprocfs_badop },
-	{ &vop_old_mknod_desc,		(void *) linprocfs_badop },
-	{ &vop_open_desc,		(void *) linprocfs_open },
-	{ &vop_pathconf_desc,		(void *) vop_stdpathconf },
-	{ &vop_print_desc,		(void *) linprocfs_print },
-	{ &vop_read_desc,		(void *) linprocfs_rw },
-	{ &vop_readdir_desc,		(void *) linprocfs_readdir },
-	{ &vop_readlink_desc,		(void *) linprocfs_readlink },
-	{ &vop_reclaim_desc,		(void *) linprocfs_reclaim },
-	{ &vop_old_remove_desc,		(void *) linprocfs_badop },
-	{ &vop_old_rename_desc,		(void *) linprocfs_badop },
-	{ &vop_old_rmdir_desc,		(void *) linprocfs_badop },
-	{ &vop_setattr_desc,		(void *) linprocfs_setattr },
-	{ &vop_old_symlink_desc,	(void *) linprocfs_badop },
-	{ &vop_write_desc,		(void *) linprocfs_rw },
-	{ &vop_ioctl_desc,		(void *) linprocfs_ioctl },
+	{ &vop_access_desc,		(vnodeopv_entry_t) linprocfs_access },
+	{ &vop_advlock_desc,		(vnodeopv_entry_t) linprocfs_badop },
+	{ &vop_bmap_desc,		(vnodeopv_entry_t) linprocfs_bmap },
+	{ &vop_close_desc,		(vnodeopv_entry_t) linprocfs_close },
+	{ &vop_old_create_desc,		(vnodeopv_entry_t) linprocfs_badop },
+	{ &vop_getattr_desc,		(vnodeopv_entry_t) linprocfs_getattr },
+	{ &vop_inactive_desc,		(vnodeopv_entry_t) linprocfs_inactive },
+	{ &vop_old_link_desc,		(vnodeopv_entry_t) linprocfs_badop },
+	{ &vop_old_lookup_desc,		(vnodeopv_entry_t) linprocfs_lookup },
+	{ &vop_old_mkdir_desc,		(vnodeopv_entry_t) linprocfs_badop },
+	{ &vop_old_mknod_desc,		(vnodeopv_entry_t) linprocfs_badop },
+	{ &vop_open_desc,		(vnodeopv_entry_t) linprocfs_open },
+	{ &vop_pathconf_desc,		(vnodeopv_entry_t) vop_stdpathconf },
+	{ &vop_print_desc,		(vnodeopv_entry_t) linprocfs_print },
+	{ &vop_read_desc,		(vnodeopv_entry_t) linprocfs_rw },
+	{ &vop_readdir_desc,		(vnodeopv_entry_t) linprocfs_readdir },
+	{ &vop_readlink_desc,		(vnodeopv_entry_t) linprocfs_readlink },
+	{ &vop_reclaim_desc,		(vnodeopv_entry_t) linprocfs_reclaim },
+	{ &vop_old_remove_desc,		(vnodeopv_entry_t) linprocfs_badop },
+	{ &vop_old_rename_desc,		(vnodeopv_entry_t) linprocfs_badop },
+	{ &vop_old_rmdir_desc,		(vnodeopv_entry_t) linprocfs_badop },
+	{ &vop_setattr_desc,		(vnodeopv_entry_t) linprocfs_setattr },
+	{ &vop_old_symlink_desc,	(vnodeopv_entry_t) linprocfs_badop },
+	{ &vop_write_desc,		(vnodeopv_entry_t) linprocfs_rw },
+	{ &vop_ioctl_desc,		(vnodeopv_entry_t) linprocfs_ioctl },
 	{ NULL, NULL }
 };


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]