aboutsummaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorRoque Arcudia Hernandez <roqueh@google.com>2024-11-01 21:17:20 +0000
committerThomas Huth <thuth@redhat.com>2024-11-18 10:34:11 +0100
commit80c80346ebd8a36b778cb634732b427862de7cb1 (patch)
tree871db9a302c617247f6e56d6b3c6f58430d08a8e /include/hw
parentabb1565d3d863cf210f18f70c4a42b0f39b8ccdb (diff)
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 <jansene@google.com> Signed-off-by: Roque Arcudia Hernandez <roqueh@google.com> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-ID: <20241101211720.3354111-1-roqueh@google.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/usb/dwc2-regs.h2
1 files changed, 1 insertions, 1 deletions
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 */