patch-2.4.10 linux/drivers/isdn/divert/divert_procfs.c

Next file: linux/drivers/isdn/divert/isdn_divert.c
Previous file: linux/drivers/isdn/divert/divert_init.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.9/linux/drivers/isdn/divert/divert_procfs.c linux/drivers/isdn/divert/divert_procfs.c
@@ -50,7 +50,7 @@
 put_info_buffer(char *cp)
 {
 	struct divert_info *ib;
-	int flags;
+	long flags;
 
 	if (if_used <= 0)
 		return;
@@ -145,7 +145,7 @@
 static int
 isdn_divert_open(struct inode *ino, struct file *filep)
 {
-	int flags;
+	long flags;
 
 	lock_kernel();
 	save_flags(flags);
@@ -168,7 +168,7 @@
 isdn_divert_close(struct inode *ino, struct file *filep)
 {
 	struct divert_info *inf;
-	int flags;
+	long flags;
 
 	lock_kernel();
 	save_flags(flags);
@@ -198,7 +198,8 @@
 		  uint cmd, ulong arg)
 {
 	divert_ioctl dioctl;
-	int i, flags;
+	int i;
+	long flags;
 	divert_rule *rulep;
 	char *cp;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)