From: Matthew Wilcox Date: Mon, 23 Jun 2008 15:14:31 +0000 (-0600) Subject: [SCSI] ses: Fix timeout X-Git-Tag: v2.6.26-rc9~80^2~2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c95e62ce8905aab62fed224eaaa9b8558a0ef652;p=linux-2.6 [SCSI] ses: Fix timeout Timeouts are measured in jiffies, not in seconds. Signed-off-by: Matthew Wilcox Cc: Stable Tree Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/ses.c b/drivers/scsi/ses.c index 45df83b9d8..0fe031f003 100644 --- a/drivers/scsi/ses.c +++ b/drivers/scsi/ses.c @@ -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,