Home
last modified time | relevance | path

Searched hist:"90 cce00c7be29f040be89c0f910336dd25b268fa" (Results 1 – 1 of 1) sorted by relevance

/qemu/include/hw/ppc/
H A Dpnv_xscom.h90cce00c7be29f040be89c0f910336dd25b268fa Wed Dec 11 16:04:15 UTC 2019 Greg Kurz <groug@kaod.org> ppc/pnv: Make PnvXScomInterface an incomplete type

PnvXScomInterface is an interface instance. It should never be
dereferenced. Drop the dummy type definition for extra safety,
which is the common practice with QOM interfaces.

While here also convert the bogus OBJECT_CHECK() to INTERFACE_CHECK().

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <157608025541.186670.1577861507610404326.stgit@bahia.lan>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>