aboutsummaryrefslogtreecommitdiffstats
path: root/src/hw/megasas.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-07-11 12:24:50 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-09-27 19:02:28 -0400
commite5a0b6163703627728f978d079d8c5f449af5fdd (patch)
tree36ab88dfb7bb08f51b8f73100d50941d25d5bd94 /src/hw/megasas.c
parent04db972290a6f3c61920fc7498031f477911774e (diff)
downloadseabios-e5a0b6163703627728f978d079d8c5f449af5fdd.tar.gz
block: Rename disk_op_s->drive_gf to drive_fl
Now that the drive_s struct does not need to be in the f-segment, rename references to drive_gf in the generic drive code to drive_fl. This is just variable renames - no code changes. Tested-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/hw/megasas.c')
-rw-r--r--src/hw/megasas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hw/megasas.c b/src/hw/megasas.c
index efd0f6ef..d2675804 100644
--- a/src/hw/megasas.c
+++ b/src/hw/megasas.c
@@ -167,7 +167,7 @@ megasas_process_op(struct disk_op_s *op)
if (blocksize < 0)
return default_process_op(op);
struct megasas_lun_s *mlun_gf =
- container_of(op->drive_gf, struct megasas_lun_s, drive);
+ container_of(op->drive_fl, struct megasas_lun_s, drive);
struct megasas_cmd_frame *frame = GET_GLOBALFLAT(mlun_gf->frame);
u16 pci_id = GET_GLOBALFLAT(mlun_gf->pci_id);
int i;