aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ppa.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/ppa.c')
-rw-r--r--drivers/scsi/ppa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ppa.c b/drivers/scsi/ppa.c
index fafcf5d185e7..05347eed9dd5 100644
--- a/drivers/scsi/ppa.c
+++ b/drivers/scsi/ppa.c
@@ -740,7 +740,7 @@ static int ppa_engine(ppa_struct *dev, struct scsi_cmnd *cmd)
740 } 740 }
741 741
742 case 2: /* Phase 2 - We are now talking to the scsi bus */ 742 case 2: /* Phase 2 - We are now talking to the scsi bus */
743 if (!ppa_select(dev, cmd->device->id)) { 743 if (!ppa_select(dev, scmd_id(cmd))) {
744 ppa_fail(dev, DID_NO_CONNECT); 744 ppa_fail(dev, DID_NO_CONNECT);
745 return 0; 745 return 0;
746 } 746 }