qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 06/10] rust: pl011: extract PL011Registers


From: Zhao Liu
Subject: Re: [PATCH 06/10] rust: pl011: extract PL011Registers
Date: Thu, 23 Jan 2025 11:44:28 +0800

> --- a/rust/hw/char/pl011/src/device_class.rs
> +++ b/rust/hw/char/pl011/src/device_class.rs
> @@ -6,11 +6,11 @@
>  use std::os::raw::{c_int, c_void};
>  
>  use qemu_api::{
> -    bindings::*, c_str, vmstate_clock, vmstate_fields, vmstate_of, 
> vmstate_subsections,
> -    vmstate_unused, zeroable::Zeroable,
> +    bindings::*, c_str, vmstate_clock, vmstate_fields, vmstate_of, 
> vmstate_struct,

Oops, I forgot to clean up this bindings::*.

> +    vmstate_subsections, vmstate_unused, zeroable::Zeroable,
>  };
>  

Very good example!

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]