diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-02-18 09:25:15 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 03:55:27 -0700 |
commit | 83f5eeef59581faed6f002432bafe24da8cbf401 (patch) | |
tree | 808ffa79326870d33782b4d24e0120ba2508e785 /drivers/scsi/isci/remote_device.c | |
parent | 83e514301ec73b16fb258618c9f9b443cca3744a (diff) | |
download | op-kernel-dev-83f5eeef59581faed6f002432bafe24da8cbf401.zip op-kernel-dev-83f5eeef59581faed6f002432bafe24da8cbf401.tar.gz |
isci: debug fixes
Some of the chain walks to get back to our dev are invalid.
isci_remote_device_change_state: delete rather than adding conditional deref
chain walking
isci_request_change_state: fix, it was being called too early
isci_request_ssp_io_request_get_lun: fix compile breakage hidden by ifdef DEBUG
Signed-off-by: Maciej Trela <maciej.trela@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/remote_device.c')
-rw-r--r-- | drivers/scsi/isci/remote_device.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/scsi/isci/remote_device.c b/drivers/scsi/isci/remote_device.c index 936f229..dec9033 100644 --- a/drivers/scsi/isci/remote_device.c +++ b/drivers/scsi/isci/remote_device.c @@ -686,12 +686,6 @@ void isci_remote_device_change_state( { unsigned long flags; - dev_dbg(&isci_device->isci_port->isci_host->pdev->dev, - "%s: isci_device = %p, state = 0x%x", - __func__, - isci_device, - status); - spin_lock_irqsave(&isci_device->state_lock, flags); isci_device->status = status; spin_unlock_irqrestore(&isci_device->state_lock, flags); |