summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_dbg.c
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2007-09-20 14:07:45 -0700
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-12 14:50:22 -0400
commitf363b9434a464e72927b468ba33cb548f482669f (patch)
treec6e21249030879401929ec66c3fbea19c56527c5 /drivers/scsi/qla2xxx/qla_dbg.c
parente745759a0f662992327537be4ec01d9a43542fc4 (diff)
downloadblackbird-op-linux-f363b9434a464e72927b468ba33cb548f482669f.tar.gz
blackbird-op-linux-f363b9434a464e72927b468ba33cb548f482669f.zip
[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.c2
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)
struct scsi_qla_host *ha;
srb_t *sp;
- ha = (struct scsi_qla_host *)cmd->device->host->hostdata;
+ ha = shost_priv(cmd->device->host);
sp = (srb_t *) cmd->SCp.ptr;
printk("SCSI Command @=0x%p, Handle=0x%p\n", cmd, cmd->host_scribble);
OpenPOWER on IntegriCloud