tnt has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-e1-hardware/+/36174?usp=email )

Change subject: icE1usb fw: fix usb cdc notification struct attributes
......................................................................

icE1usb fw: fix usb cdc notification struct attributes

Signed-off-by: Sylvain Munaut <t...@246tnt.com>
Change-Id: I7323c335c7cefe30446fb560b9381a3519b65f12
---
M firmware/ice40-riscv/icE1usb/usb_gps.c
1 file changed, 11 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  tnt: Looks good to me, approved
  laforge: Looks good to me, but someone else must approve




diff --git a/firmware/ice40-riscv/icE1usb/usb_gps.c 
b/firmware/ice40-riscv/icE1usb/usb_gps.c
index 7ca89fd..f2b09b4 100644
--- a/firmware/ice40-riscv/icE1usb/usb_gps.c
+++ b/firmware/ice40-riscv/icE1usb/usb_gps.c
@@ -49,7 +49,7 @@
 struct usb_cdc_notif_serial_state {
        struct usb_ctrl_req hdr;
        uint16_t bits;
-};
+} __attribute__((packed,aligned(4)));


 static void

--
To view, visit https://gerrit.osmocom.org/c/osmo-e1-hardware/+/36174?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-e1-hardware
Gerrit-Branch: master
Gerrit-Change-Id: I7323c335c7cefe30446fb560b9381a3519b65f12
Gerrit-Change-Number: 36174
Gerrit-PatchSet: 1
Gerrit-Owner: tnt <t...@246tnt.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-Reviewer: tnt <t...@246tnt.com>
Gerrit-MessageType: merged

Reply via email to