aboutsummaryrefslogtreecommitdiff
path: root/src/hw/virtio-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/virtio-scsi.c
parent04db972290a6f3c61920fc7498031f477911774e (diff)
downloadseabios-hppa-e5a0b6163703627728f978d079d8c5f449af5fdd.zip
seabios-hppa-e5a0b6163703627728f978d079d8c5f449af5fdd.tar.gz
seabios-hppa-e5a0b6163703627728f978d079d8c5f449af5fdd.tar.bz2
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/virtio-scsi.c')
-rw-r--r--src/hw/virtio-scsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hw/virtio-scsi.c b/src/hw/virtio-scsi.c
index 4eea5c3..466b305 100644
--- a/src/hw/virtio-scsi.c
+++ b/src/hw/virtio-scsi.c
@@ -39,7 +39,7 @@ virtio_scsi_process_op(struct disk_op_s *op)
if (! CONFIG_VIRTIO_SCSI)
return 0;
struct virtio_lun_s *vlun =
- container_of(op->drive_gf, struct virtio_lun_s, drive);
+ container_of(op->drive_fl, struct virtio_lun_s, drive);
struct vp_device *vp = vlun->vp;
struct vring_virtqueue *vq = vlun->vq;
struct virtio_scsi_req_cmd req;