]> Git Repo - qemu.git/commit
pci: Initialize pci_dev->name before use
authorAlexey Kardashevskiy <[email protected]>
Thu, 19 Oct 2017 02:15:05 +0000 (13:15 +1100)
committerMichael S. Tsirkin <[email protected]>
Thu, 16 Nov 2017 15:46:53 +0000 (17:46 +0200)
commitd06bce95ff8c6e2f290db150695f826c3d57324f
tree4f361d5c2a12a8c5a6f30e5fcd38d96cc00a9647
parent7abea552aba6e85b338015726648974d6d6f19c8
pci: Initialize pci_dev->name before use

This moves pci_dev->name initialization earlier so
pci_dev->bus_master_as could get a name instead of an empty string.

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Peter Xu <[email protected]>
Signed-off-by: Alexey Kardashevskiy <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/pci/pci.c
This page took 0.023828 seconds and 4 git commands to generate.