On 12/12/2016 04:42 PM, Marc-André Lureau wrote:
> Use common allocator for CharDriverState.
> 
> Rename the now untouched parent field.
> 
> Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
> ---
>  hw/bt/hci-csr.c | 19 +++++++++++++------
>  1 file changed, 13 insertions(+), 6 deletions(-)
> 

> 
>  static inline void csrhci_fifo_wake(struct csrhci_s *s)
>  {
> -    CharBackend *be = s->chr.be;
> +    CharDriverState *chr = (CharDriverState *)s;

Another one of those temporary casts that got me stuck on 8/54. So with
the same idea of the commit message mentioning that it gets better later
in the series,

Reviewed-by: Eric Blake <ebl...@redhat.com>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to