]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[SCSI] ses: Fix timeout
authorMatthew Wilcox <matthew@wil.cx>
Mon, 23 Jun 2008 15:14:31 +0000 (09:14 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Tue, 24 Jun 2008 17:02:27 +0000 (12:02 -0500)
Timeouts are measured in jiffies, not in seconds.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/ses.c

index 45df83b9d847122abac77e2d7a9d5a59eb2cfb95..0fe031f003e7e8e5082dc91469204e53b35067b5 100644 (file)
@@ -61,7 +61,7 @@ static int ses_probe(struct device *dev)
        return err;
 }
 
-#define SES_TIMEOUT 30
+#define SES_TIMEOUT (30 * HZ)
 #define SES_RETRIES 3
 
 static int ses_recv_diag(struct scsi_device *sdev, int page_code,