]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] scsi_dh_emc: fix mode select request setup
authorHannes Reinecke <hare@suse.de>
Wed, 2 Dec 2009 20:28:48 +0000 (14:28 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 3 Mar 2010 10:30:11 +0000 (16:00 +0530)
commit506f6a9cca3a4b0e0c4260c320f296c26191f648
tree7ce5b2539300247cdc1817495856f79289719643
parent705e72660b2966d47c6e2724413e14e44684b528
[SCSI] scsi_dh_emc: fix mode select request setup

This patch fixes the request setup code for mode selects. I got the fixes from
Hannes Reinecke while trying to hunt down some problems and merged it
into one patch. I am sending it because Hannes is busy with other things.

The patch fixes:
- setting of the length for mode selects.
- setting of the data direction for mode select 10.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/device_handler/scsi_dh_emc.c