diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 010f560ab99d..8401a6f9bc71 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -536,7 +536,7 @@ qla2x00_get_new_sp(scsi_qla_host_t *vha, fc_port_t *fcport, | |||
536 | static int | 536 | static int |
537 | qla2xxx_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *cmd) | 537 | qla2xxx_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *cmd) |
538 | { | 538 | { |
539 | scsi_qla_host_t *vha = shost_priv(cmd->device->host); | 539 | scsi_qla_host_t *vha = shost_priv(host); |
540 | fc_port_t *fcport = (struct fc_port *) cmd->device->hostdata; | 540 | fc_port_t *fcport = (struct fc_port *) cmd->device->hostdata; |
541 | struct fc_rport *rport = starget_to_rport(scsi_target(cmd->device)); | 541 | struct fc_rport *rport = starget_to_rport(scsi_target(cmd->device)); |
542 | struct qla_hw_data *ha = vha->hw; | 542 | struct qla_hw_data *ha = vha->hw; |