projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62786b9
)
[SCSI] ses: Fix timeout
author
Matthew Wilcox
<matthew@wil.cx>
Mon, 23 Jun 2008 15:14:31 +0000
(09:14 -0600)
committer
James Bottomley
<James.Bottomley@HansenPartnership.com>
Tue, 24 Jun 2008 17:02:27 +0000
(12:02 -0500)
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>
drivers/scsi/ses.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/ses.c
b/drivers/scsi/ses.c
index 45df83b9d847122abac77e2d7a9d5a59eb2cfb95..0fe031f003e7e8e5082dc91469204e53b35067b5 100644
(file)
--- 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,