patch-2.4.13 linux/drivers/mtd/ftl.c
Next file: linux/drivers/mtd/mtdblock.c
Previous file: linux/drivers/mtd/Config.in
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Mon Oct 15 13:27:52 2001
-  Orig file: 
v2.4.12/linux/drivers/mtd/ftl.c
-  Orig date: 
Tue Oct  9 17:06:51 2001
diff -u --recursive --new-file v2.4.12/linux/drivers/mtd/ftl.c linux/drivers/mtd/ftl.c
@@ -1174,7 +1174,7 @@
 	put_user(ftl_hd[minor].start_sect, (u_long *)&geo->start);
 	break;
     case BLKGETSIZE:
-	ret = put_user(ftl_hd[minor].nr_sects, (long *)arg);
+	ret = put_user(ftl_hd[minor].nr_sects, (unsigned long *)arg);
 	break;
     case BLKGETSIZE64:
 	ret = put_user((u64)ftl_hd[minor].nr_sects << 9, (u64 *)arg);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)