aboutsummaryrefslogtreecommitdiffstats
path: root/src/hw/esp-scsi.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/esp-scsi.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/esp-scsi.c')
-rw-r--r--src/hw/esp-scsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hw/esp-scsi.c b/src/hw/esp-scsi.c
index 57d38325..ffd86d0f 100644
--- a/src/hw/esp-scsi.c
+++ b/src/hw/esp-scsi.c
@@ -83,7 +83,7 @@ esp_scsi_process_op(struct disk_op_s *op)
if (!CONFIG_ESP_SCSI)
return DISK_RET_EBADTRACK;
struct esp_lun_s *llun_gf =
- container_of(op->drive_gf, struct esp_lun_s, drive);
+ container_of(op->drive_fl, struct esp_lun_s, drive);
u16 target = GET_GLOBALFLAT(llun_gf->target);
u16 lun = GET_GLOBALFLAT(llun_gf->lun);
u8 cdbcmd[16];