diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-10 11:22:33 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-10 11:22:33 -0500 |
commit | 1542dec1c9109fdcd1c53460f064096f24fc49d2 (patch) | |
tree | 6b100234ff75d462817b948772f5f62aebcf0503 /drivers/scsi | |
parent | facc7a96d443d84060a8679c3fcc51d20d4981c3 (diff) | |
parent | 2ad2c320a107aceeba984f97ab2a60064101f5d5 (diff) |
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev
* 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev:
pata_platform: Remove CONFIG_HAVE_PATA_PLATFORM's dependencies.
pata_hpt37x: actually limit HPT370 to UltraDMA/66
pata_hpt3x2n: coding style cleanup
pata_hpt37x: coding style cleanup
pata_hpt366: coding style cleanup
pata_hpt3x2n: calculate average f_CNT
pata_hpt3x2n: clarify about HPT371N support
pata_hpt{37x|3x2n}: SATA mode filtering
[libata] avoid needlessly passing around ptr to SCSI completion func
[libata] new driver acard_ahci, for ATP8620 host controller
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/ipr.c | 2 | ||||
-rw-r--r-- | drivers/scsi/libsas/sas_scsi_host.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index de2e09e49a3e..d3c5905b22ec 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c | |||
@@ -5748,7 +5748,7 @@ static int ipr_queuecommand_lck(struct scsi_cmnd *scsi_cmd, | |||
5748 | } | 5748 | } |
5749 | 5749 | ||
5750 | if (ipr_is_gata(res) && res->sata_port) | 5750 | if (ipr_is_gata(res) && res->sata_port) |
5751 | return ata_sas_queuecmd(scsi_cmd, done, res->sata_port->ap); | 5751 | return ata_sas_queuecmd(scsi_cmd, res->sata_port->ap); |
5752 | 5752 | ||
5753 | ipr_cmd = ipr_get_free_ipr_cmnd(ioa_cfg); | 5753 | ipr_cmd = ipr_get_free_ipr_cmnd(ioa_cfg); |
5754 | ioarcb = &ipr_cmd->ioarcb; | 5754 | ioarcb = &ipr_cmd->ioarcb; |
diff --git a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c index 29251fabecc6..5815cbeb27a6 100644 --- a/drivers/scsi/libsas/sas_scsi_host.c +++ b/drivers/scsi/libsas/sas_scsi_host.c | |||
@@ -211,8 +211,7 @@ static int sas_queuecommand_lck(struct scsi_cmnd *cmd, | |||
211 | unsigned long flags; | 211 | unsigned long flags; |
212 | 212 | ||
213 | spin_lock_irqsave(dev->sata_dev.ap->lock, flags); | 213 | spin_lock_irqsave(dev->sata_dev.ap->lock, flags); |
214 | res = ata_sas_queuecmd(cmd, scsi_done, | 214 | res = ata_sas_queuecmd(cmd, dev->sata_dev.ap); |
215 | dev->sata_dev.ap); | ||
216 | spin_unlock_irqrestore(dev->sata_dev.ap->lock, flags); | 215 | spin_unlock_irqrestore(dev->sata_dev.ap->lock, flags); |
217 | goto out; | 216 | goto out; |
218 | } | 217 | } |