+4
−4
Loading
Use DO_UPCAST() instead of container_of() to go from PCIDevice to I6300State. This ensures that PCIDevice is the first member of struct I6300State. Signed-off-by:Markus Armbruster <armbru@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>