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

* Re: [PATCH] scsi: hpsa: limit transfer length to 1MB, not 512kB
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2018-08-22 11:47 UTC (permalink / raw)
  To: Martin Wilck
  Cc: Martin K. Petersen, Don Brace, esc.storagedev, Yadan Fan,
	Lidong Zhong, Hannes Reinecke, James Bottomley, stable

On Wed, Aug 22, 2018 at 01:25:44PM +0200, Martin Wilck wrote:
> 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(-)

<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read:
    https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.

</formletter>

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

* Re: [PATCH] scsi: hpsa: limit transfer length to 1MB, not 512kB
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2018-08-24  2:25 UTC (permalink / raw)
  To: Martin Wilck
  Cc: Martin K. Petersen, Don Brace, esc.storagedev, Yadan Fan,
	Lidong Zhong, Hannes Reinecke, James Bottomley, stable


Martin,

Please make sure to send patches to linux-scsi.

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

Applied to 4.19/scsi-fixes.

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[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.