projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scsi: fix host max depth checking for the 'queue_depth' sysfs interface
[cascardo/linux.git]
/
drivers
/
scsi
/
scsi_sysfs.c
diff --git
a/drivers/scsi/scsi_sysfs.c
b/drivers/scsi/scsi_sysfs.c
index
1ac38e7
..
9ad4116
100644
(file)
--- a/
drivers/scsi/scsi_sysfs.c
+++ b/
drivers/scsi/scsi_sysfs.c
@@
-859,7
+859,7
@@
sdev_store_queue_depth(struct device *dev, struct device_attribute *attr,
depth = simple_strtoul(buf, NULL, 0);
- if (depth < 1 || depth > s
h
t->can_queue)
+ if (depth < 1 || depth > s
dev->hos
t->can_queue)
return -EINVAL;
retval = sht->change_queue_depth(sdev, depth);