diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-01-07 10:30:41 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-01-23 11:50:53 +0100 |
| commit | 24f0e8d818b931758b6dc47f973a6b1b80ecee1f (patch) | |
| tree | 471ea7065c353dd6c0a477a6b920d59227620941 /rust/hw/char/pl011/src | |
| parent | 9d4899496b555751c8ea4155d6da4fc3dbd7edae (diff) | |
| download | focaccia-qemu-24f0e8d818b931758b6dc47f973a6b1b80ecee1f.tar.gz focaccia-qemu-24f0e8d818b931758b6dc47f973a6b1b80ecee1f.zip | |
rust: vmstate: make order of parameters consistent in vmstate_clock
Place struct_name before field_name, similar to offset_of. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/hw/char/pl011/src')
| -rw-r--r-- | rust/hw/char/pl011/src/device_class.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/hw/char/pl011/src/device_class.rs b/rust/hw/char/pl011/src/device_class.rs index e0d3532e95..b052d98803 100644 --- a/rust/hw/char/pl011/src/device_class.rs +++ b/rust/hw/char/pl011/src/device_class.rs @@ -27,7 +27,7 @@ pub static VMSTATE_PL011_CLOCK: VMStateDescription = VMStateDescription { minimum_version_id: 1, needed: Some(pl011_clock_needed), fields: vmstate_fields! { - vmstate_clock!(clock, PL011State), + vmstate_clock!(PL011State, clock), }, ..Zeroable::ZERO }; |