diff options
| author | Greg Kurz | 2017-09-09 17:06:10 +0200 |
|---|---|---|
| committer | David Gibson | 2017-09-15 02:29:48 +0200 |
| commit | d049bde69d8ab3dfa4edeee48896088ae9feb693 (patch) | |
| tree | ffb93ab5e11ebc428ae2c2eac903f739c788a8b1 /include | |
| parent | spapr_pci: drop useless check in spapr_phb_vfio_get_loc_code() (diff) | |
| download | qemu-d049bde69d8ab3dfa4edeee48896088ae9feb693.tar.gz qemu-d049bde69d8ab3dfa4edeee48896088ae9feb693.tar.xz qemu-d049bde69d8ab3dfa4edeee48896088ae9feb693.zip | |
spapr_pci: drop useless check in spapr_populate_pci_child_dt()
spapr_phb_get_loc_code() either returns a non-null pointer, or aborts
if g_strdup_printf() failed to allocate memory.
Signed-off-by: Greg Kurz <groug@kaod.org>
[dwg: Grammatical fix to commit message]
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
