diff options
Diffstat (limited to 'drivers/scsi/libsas')
-rw-r--r-- | drivers/scsi/libsas/sas_scsi_host.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c index 7663841eb4cf..b784089b18d0 100644 --- a/drivers/scsi/libsas/sas_scsi_host.c +++ b/drivers/scsi/libsas/sas_scsi_host.c | |||
@@ -200,6 +200,10 @@ int sas_queue_up(struct sas_task *task) | |||
200 | */ | 200 | */ |
201 | int sas_queuecommand(struct scsi_cmnd *cmd, | 201 | int sas_queuecommand(struct scsi_cmnd *cmd, |
202 | void (*scsi_done)(struct scsi_cmnd *)) | 202 | void (*scsi_done)(struct scsi_cmnd *)) |
203 | __releases(host->host_lock) | ||
204 | __acquires(dev->sata_dev.ap->lock) | ||
205 | __releases(dev->sata_dev.ap->lock) | ||
206 | __acquires(host->host_lock) | ||
203 | { | 207 | { |
204 | int res = 0; | 208 | int res = 0; |
205 | struct domain_device *dev = cmd_to_domain_dev(cmd); | 209 | struct domain_device *dev = cmd_to_domain_dev(cmd); |
@@ -410,7 +414,7 @@ static int sas_recover_I_T(struct domain_device *dev) | |||
410 | } | 414 | } |
411 | 415 | ||
412 | /* Find the sas_phy that's attached to this device */ | 416 | /* Find the sas_phy that's attached to this device */ |
413 | struct sas_phy *find_local_sas_phy(struct domain_device *dev) | 417 | static struct sas_phy *find_local_sas_phy(struct domain_device *dev) |
414 | { | 418 | { |
415 | struct domain_device *pdev = dev->parent; | 419 | struct domain_device *pdev = dev->parent; |
416 | struct ex_phy *exphy = NULL; | 420 | struct ex_phy *exphy = NULL; |