]> Git Repo - qemu.git/commit
bus: simplify name handling
authorMarc-André Lureau <[email protected]>
Fri, 15 Jul 2016 10:04:49 +0000 (12:04 +0200)
committerMarc-André Lureau <[email protected]>
Thu, 8 Sep 2016 14:05:22 +0000 (18:05 +0400)
commitf73480c36f49562556b80bb5bf8acc45e20dcca1
tree9d102ca71a9ba4abb14c01b3ce7a9fd2098b74b1
parente9529768d4786414725a9675991aeb466a6d600c
bus: simplify name handling

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]>
Reviewed-by: Eric Blake <[email protected]>
hw/core/bus.c
include/hw/qdev-core.h
This page took 0.025717 seconds and 4 git commands to generate.