提交 c95e62ce 编写于 作者: M Matthew Wilcox 提交者: James Bottomley

[SCSI] ses: Fix timeout

Timeouts are measured in jiffies, not in seconds.
Signed-off-by: NMatthew Wilcox <willy@linux.intel.com>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
上级 62786b9e
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册