On 15/7/25 11:25, Mark Cave-Ayland wrote:
Now that nothing accesses the device field directly, rename device to
parent_obj as per our current coding guidelines.
Signed-off-by: Mark Cave-Ayland <mark.caveayl...@nutanix.com>
---
hw/vfio-user/pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/vfio-user/pci.c b/hw/vfio-user/pci.c
index e23a941605..9380766548 100644
--- a/hw/vfio-user/pci.c
+++ b/hw/vfio-user/pci.c
@@ -20,7 +20,7 @@
OBJECT_DECLARE_SIMPLE_TYPE(VFIOUserPCIDevice, VFIO_USER_PCI)
struct VFIOUserPCIDevice {
- VFIOPCIDevice device;
+ VFIOPCIDevice parent_obj;
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>