On 07/28/2016 08:38 AM, [email protected] wrote: > From: Marc-André Lureau <[email protected]> > > 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 <[email protected]> > --- > hw/core/bus.c | 21 ++++++--------------- > include/hw/qdev-core.h | 2 +- > 2 files changed, 7 insertions(+), 16 deletions(-)
Reviewed-by: Eric Blake <[email protected]> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
