From: Mark Cave-Ayland <mark.caveayl...@nutanix.com>

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>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Reviewed-by: John Levon <john.le...@nutanix.com>
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Link: 
https://lore.kernel.org/qemu-devel/20250715093110.107317-14-mark.caveayl...@nutanix.com
Signed-off-by: Cédric Le Goater <c...@redhat.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 
7b6a6514f6c22c64ea52d4e8e99b263ed44de522..c3947a8f2ec9c0309b4484b95a4bd5439fa1d17f
 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;
 
     SocketAddress *socket;
     bool send_queued;   /* all sends are queued */
-- 
2.51.0


Reply via email to