All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scsi: hpsa: limit transfer length to 1MB, not 512kB
@ 2018-08-22 11:25 Martin Wilck
  2018-08-22 11:47 ` Greg KH
  2018-08-24  2:25 ` Martin K. Petersen
  0 siblings, 2 replies; 3+ messages in thread
From: Martin Wilck @ 2018-08-22 11:25 UTC (permalink / raw)
  To: Martin K. Petersen, Don Brace, esc.storagedev
  Cc: Yadan Fan, Lidong Zhong, Hannes Reinecke, Martin Wilck,
	James Bottomley, stable

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>
---
 drivers/scsi/hpsa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 58bb70b..c120929 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,
 };
 
-- 
2.18.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-08-24  5:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-22 11:25 [PATCH] scsi: hpsa: limit transfer length to 1MB, not 512kB Martin Wilck
2018-08-22 11:47 ` Greg KH
2018-08-24  2:25 ` Martin K. Petersen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.