提交 eb53a3ea 编写于 作者: M Martin Wilck 提交者: Martin K. Petersen

scsi: hpsa: limit transfer length to 1MB, not 512kB

e2c7b433 was supposed to limit transfer length to 1MB, but got the unit of
max_sectors wrong.

Fixes: e2c7b433 ("scsi: hpsa: limit transfer length to 1MB")
Signed-off-by: NMartin Wilck <mwilck@suse.com>
Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
上级 53e13ee0
...@@ -976,7 +976,7 @@ static struct scsi_host_template hpsa_driver_template = { ...@@ -976,7 +976,7 @@ static struct scsi_host_template hpsa_driver_template = {
#endif #endif
.sdev_attrs = hpsa_sdev_attrs, .sdev_attrs = hpsa_sdev_attrs,
.shost_attrs = hpsa_shost_attrs, .shost_attrs = hpsa_shost_attrs,
.max_sectors = 1024, .max_sectors = 2048,
.no_write_same = 1, .no_write_same = 1,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册