qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 32/37] bus: simplify name handling


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v2 32/37] bus: simplify name handling
Date: Thu, 28 Jul 2016 16:05:07 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 07/28/2016 08:38 AM, address@hidden wrote:
> From: Marc-André Lureau <address@hidden>
> 
> Simplify a bit the code by using g_strdup_printf() and store it in a
> non-const value so casting is no longer needed, and ownership is
> clearer.
> 
> Signed-off-by: Marc-André Lureau <address@hidden>
> ---
>  hw/core/bus.c          | 21 ++++++---------------
>  include/hw/qdev-core.h |  2 +-
>  2 files changed, 7 insertions(+), 16 deletions(-)

Reviewed-by: Eric Blake <address@hidden>


-- 
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

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