aboutsummaryrefslogtreecommitdiffstats
path: root/src/hw/mpt-scsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hw/mpt-scsi.c')
-rw-r--r--src/hw/mpt-scsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hw/mpt-scsi.c b/src/hw/mpt-scsi.c
index 80c6d6b7..1faede6a 100644
--- a/src/hw/mpt-scsi.c
+++ b/src/hw/mpt-scsi.c
@@ -188,7 +188,7 @@ mpt_scsi_process_op(struct disk_op_s *op)
return default_process_op(op);
struct mpt_lun_s *llun_gf =
- container_of(op->drive_gf, struct mpt_lun_s, drive);
+ container_of(op->drive_fl, struct mpt_lun_s, drive);
u16 target = GET_GLOBALFLAT(llun_gf->target);
u16 lun = GET_GLOBALFLAT(llun_gf->lun);
u32 iobase = GET_GLOBALFLAT(llun_gf->iobase);