Searched hist:"7808 becd6bd09aed86ec71c328a1e1b6cc0f7419" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | dwc2_udc_otg_xfer_dma.c | 7808becd6bd09aed86ec71c328a1e1b6cc0f7419 Thu Nov 21 21:15:23 UTC 2019 Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> UPSTREAM: usb: dwc2: fix possible alignment issues
Since upgrading to gcc9, warnings are issued: "taking address of packed member of ‘...’ may result in an unaligned pointer value"
Fix this by converting dwc2_fifo_read to use unaligned access since packed structures may be on an unaligned address, depending on USB hardware.
Change-Id: I2cc286df6fda386353cd2d350534e8ae398e67bb Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 7dc0ac6015718f5fb66bb79bf53df19f64fbfeee)
|