summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hpsa.c
diff options
context:
space:
mode:
authorMartin Wilck <mwilck@suse.com>2018-08-22 13:25:44 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2018-08-27 18:26:10 +0200
commiteb53a3ea3e009578a388f106620b22b1707cf2f6 (patch)
tree4ad96e469483c26a135b627048b41037a2c6214f /drivers/scsi/hpsa.c
parentscsi: lpfc: Correct MDS diag and nvmet configuration (diff)
downloadlinux-eb53a3ea3e009578a388f106620b22b1707cf2f6.tar.xz
linux-eb53a3ea3e009578a388f106620b22b1707cf2f6.zip
scsi: hpsa: limit transfer length to 1MB, not 512kB
e2c7b43 was supposed to limit transfer length to 1MB, but got the unit of max_sectors wrong. Fixes: e2c7b433f729 ("scsi: hpsa: limit transfer length to 1MB") Signed-off-by: Martin Wilck <mwilck@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/hpsa.c')
-rw-r--r--drivers/scsi/hpsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 58bb70b886d7..c120929d4ffe 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -976,7 +976,7 @@ static struct scsi_host_template hpsa_driver_template = {
#endif
.sdev_attrs = hpsa_sdev_attrs,
.shost_attrs = hpsa_shost_attrs,
- .max_sectors = 1024,
+ .max_sectors = 2048,
.no_write_same = 1,
};