[SCSI] ses: Fix timeout
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>
This commit is contained in:
parent
62786b9e81
commit
c95e62ce89
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue