patch-1.3.82 linux/drivers/scsi/seagate.c

Next file: linux/drivers/scsi/sr.c
Previous file: linux/drivers/scsi/scsi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.81/linux/drivers/scsi/seagate.c linux/drivers/scsi/seagate.c
@@ -1718,7 +1718,7 @@
  * 256 heads * 64 sectors. 
  */
 
-      if ((cylinders > 1024) || (sectors > 64)) 
+      if ((cylinders > 1024) || (sectors > 64)) {
 	/* The Seagate's seem to have some mapping
 	 * Multiple heads * sectors * cyl to get capacity
 	 * Then start rounding down. */
@@ -1730,7 +1730,7 @@
 	{
 		heads *= 2;	/* For some reason, they go in multiples */
 		cylinders = capacity / heads;
-	};
+	}
       }
       ip[0] = heads;
       ip[1] = sectors;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this