Skip to content

Commit eb53a3e

Browse files
mwilckmartinkpetersen
authored andcommitted
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: e2c7b43 ("scsi: hpsa: limit transfer length to 1MB") Signed-off-by: Martin Wilck <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 53e13ee commit eb53a3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/hpsa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ static struct scsi_host_template hpsa_driver_template = {
976976
#endif
977977
.sdev_attrs = hpsa_sdev_attrs,
978978
.shost_attrs = hpsa_shost_attrs,
979-
.max_sectors = 1024,
979+
.max_sectors = 2048,
980980
.no_write_same = 1,
981981
};
982982

0 commit comments

Comments
 (0)