Greg Kurz 9ba255365e spapr_pci: handle FDT creation errors with _FDT()
libfdt failures when creating the FDT should cause QEMU to terminate.

Let's use the _FDT() macro which does just that instead of propagating
the error to the caller. spapr_populate_pci_child_dt() no longer needs
to return a value in this case.

Note that, on the way, this get rids of the following nonsensical lines:

    g_assert(!ret);
    if (ret) {

Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2017-09-15 10:29:48 +10:00
..
2017-09-08 09:30:55 +10:00
2017-04-26 12:41:55 +10:00
2017-01-19 22:07:46 +01:00
2017-07-13 13:49:58 +02:00
2017-09-08 09:30:55 +10:00
2017-05-07 09:57:51 +03:00
2017-01-31 10:10:13 +11:00
2017-01-31 10:10:13 +11:00
2017-09-15 10:29:48 +10:00
2017-09-15 10:29:48 +10:00