diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2007-09-20 17:07:45 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 14:50:22 -0400 |
commit | f363b9434a464e72927b468ba33cb548f482669f (patch) | |
tree | c6e21249030879401929ec66c3fbea19c56527c5 /drivers/scsi/qla2xxx/qla_dbg.c | |
parent | e745759a0f662992327537be4ec01d9a43542fc4 (diff) |
[SCSI] qla2xxx: Use shost_priv().
Drop usage of legacy to_qla_host() macro.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_dbg.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_dbg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_dbg.c b/drivers/scsi/qla2xxx/qla_dbg.c index ca7f70d6d6c0..eaa04dabcdf6 100644 --- a/drivers/scsi/qla2xxx/qla_dbg.c +++ b/drivers/scsi/qla2xxx/qla_dbg.c | |||
@@ -1402,7 +1402,7 @@ qla2x00_print_scsi_cmd(struct scsi_cmnd * cmd) | |||
1402 | struct scsi_qla_host *ha; | 1402 | struct scsi_qla_host *ha; |
1403 | srb_t *sp; | 1403 | srb_t *sp; |
1404 | 1404 | ||
1405 | ha = (struct scsi_qla_host *)cmd->device->host->hostdata; | 1405 | ha = shost_priv(cmd->device->host); |
1406 | 1406 | ||
1407 | sp = (srb_t *) cmd->SCp.ptr; | 1407 | sp = (srb_t *) cmd->SCp.ptr; |
1408 | printk("SCSI Command @=0x%p, Handle=0x%p\n", cmd, cmd->host_scribble); | 1408 | printk("SCSI Command @=0x%p, Handle=0x%p\n", cmd, cmd->host_scribble); |