Skip to content

Commit

Permalink
[SCSI] ses: Fix timeout
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matthew Wilcox authored and James Bottomley committed Jun 24, 2008
1 parent 62786b9 commit c95e62c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/ses.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c95e62c

Please sign in to comment.