From: Matthew Wilcox Date: Mon, 23 Jun 2008 15:14:31 +0000 (-0600) Subject: [SCSI] ses: Fix timeout X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c95e62ce8905aab62fed224eaaa9b8558a0ef652;p=mv-sheeva.git [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 45df83b9d84..0fe031f003e 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,