Commit c95e62ce authored by Matthew Wilcox's avatar Matthew Wilcox Committed by James Bottomley

[SCSI] ses: Fix timeout

Timeouts are measured in jiffies, not in seconds.
Signed-off-by: default avatarMatthew Wilcox <willy@linux.intel.com>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 62786b9e
...@@ -61,7 +61,7 @@ static int ses_probe(struct device *dev) ...@@ -61,7 +61,7 @@ static int ses_probe(struct device *dev)
return err; return err;
} }
#define SES_TIMEOUT 30 #define SES_TIMEOUT (30 * HZ)
#define SES_RETRIES 3 #define SES_RETRIES 3
static int ses_recv_diag(struct scsi_device *sdev, int page_code, static int ses_recv_diag(struct scsi_device *sdev, int page_code,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment