aboutsummaryrefslogtreecommitdiff
path: root/hw/pci/pcie_port.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2017-05-08 11:00:56 -0700
committerMichael Tokarev <mjt@tls.msk.ru>2017-06-04 18:42:55 +0300
commitbb0b6f39c032c18e3a72c5ebef4e4968a9dcb4d0 (patch)
treeca7bb80856a302b8848064b1a05628dc801f9a06 /hw/pci/pcie_port.c
parent95e9a242e2a393c7d4e5cc04340e39c3a9420f03 (diff)
hw/xtensa: sim: use g_string/g_new
Replace malloc/free/sprintf with g_string/g_string_printf/g_string_free. Replace g_malloc with g_new when allocating the MemoryRegion to get more type safety. Suggested-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/pci/pcie_port.c')
0 files changed, 0 insertions, 0 deletions