public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] scsi: storvsc: Set the SRB flags correctly when no data transfer is needed
@ 2015-04-24 23:33 K. Y. Srinivasan
  2015-04-25  7:05 ` Dan Carpenter
  0 siblings, 1 reply; 5+ messages in thread
From: K. Y. Srinivasan @ 2015-04-24 23:33 UTC (permalink / raw)
  To: gregkh, linux-kernel, devel, ohering, jbottomley, hch, linux-scsi,
	apw, vkuznets, jasowang
  Cc: K. Y. Srinivasan, stable

Set the SRB flags correctly when there is no data transfer.

Cc: <stable@vger.kernel.org>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Long Li <longli@microsoft.com>
---
 drivers/scsi/storvsc_drv.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c
index d9dad90..3c6584f 100644
--- a/drivers/scsi/storvsc_drv.c
+++ b/drivers/scsi/storvsc_drv.c
@@ -1600,8 +1600,7 @@ static int storvsc_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *scmnd)
 		break;
 	default:
 		vm_srb->data_in = UNKNOWN_TYPE;
-		vm_srb->win8_extension.srb_flags |= (SRB_FLAGS_DATA_IN |
-						     SRB_FLAGS_DATA_OUT);
+		vm_srb->win8_extension.srb_flags |= SRB_FLAGS_NO_DATA_TRANSFER;
 		break;
 	}
 
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [PATCH 1/1] scsi: storvsc: Set the SRB flags correctly when no data transfer is needed
@ 2015-04-25  0:23 K. Y. Srinivasan
  2015-05-11  9:10 ` Christoph Hellwig
  0 siblings, 1 reply; 5+ messages in thread
From: K. Y. Srinivasan @ 2015-04-25  0:23 UTC (permalink / raw)
  To: gregkh, linux-kernel, devel, ohering, jbottomley, hch, linux-scsi,
	apw, vkuznets, jasowang
  Cc: K. Y. Srinivasan, stable

Set the SRB flags correctly when there is no data transfer.

Cc: <stable@vger.kernel.org>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Long Li <longli@microsoft.com>
---
 drivers/scsi/storvsc_drv.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c
index d9dad90..3c6584f 100644
--- a/drivers/scsi/storvsc_drv.c
+++ b/drivers/scsi/storvsc_drv.c
@@ -1600,8 +1600,7 @@ static int storvsc_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *scmnd)
 		break;
 	default:
 		vm_srb->data_in = UNKNOWN_TYPE;
-		vm_srb->win8_extension.srb_flags |= (SRB_FLAGS_DATA_IN |
-						     SRB_FLAGS_DATA_OUT);
+		vm_srb->win8_extension.srb_flags |= SRB_FLAGS_NO_DATA_TRANSFER;
 		break;
 	}
 
-- 
1.7.4.1


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

end of thread, other threads:[~2015-05-11  9:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-24 23:33 [PATCH 1/1] scsi: storvsc: Set the SRB flags correctly when no data transfer is needed K. Y. Srinivasan
2015-04-25  7:05 ` Dan Carpenter
2015-04-25 16:15   ` KY Srinivasan
  -- strict thread matches above, loose matches on Subject: below --
2015-04-25  0:23 K. Y. Srinivasan
2015-05-11  9:10 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox