From 80c80346ebd8a36b778cb634732b427862de7cb1 Mon Sep 17 00:00:00 2001 From: Roque Arcudia Hernandez Date: Fri, 1 Nov 2024 21:17:20 +0000 Subject: hw/usb: Use __attribute__((packed)) vs __packed __packed is non standard and is not present in clang-cl. __attribute__((packed)) has the same semantics. Signed-off-by: Erwin Jansen Signed-off-by: Roque Arcudia Hernandez Reviewed-by: Pierrick Bouvier Reviewed-by: Thomas Huth Message-ID: <20241101211720.3354111-1-roqueh@google.com> Signed-off-by: Thomas Huth --- include/hw/usb/dwc2-regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/hw') diff --git a/include/hw/usb/dwc2-regs.h b/include/hw/usb/dwc2-regs.h index 523b112c5e..b8b4266543 100644 --- a/include/hw/usb/dwc2-regs.h +++ b/include/hw/usb/dwc2-regs.h @@ -838,7 +838,7 @@ struct dwc2_dma_desc { uint32_t status; uint32_t buf; -} __packed; +} QEMU_PACKED; /* Host Mode DMA descriptor status quadlet */ -- cgit v1.2.3