Searched hist:bafc57b2ad8d8331ceb1c4c7e8f1651724ee05a8 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | composite.c | bafc57b2ad8d8331ceb1c4c7e8f1651724ee05a8 Thu Nov 21 21:15:22 UTC 2019 Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> UPSTREAM: usb: composite: 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 two functions to use unaligned access since packed structures may be on an unaligned address, depending on USB hardware.
Conflicts: drivers/usb/gadget/composite.c
Change-Id: I9a42dcd3ca1a633204396e2a2699069a88df0890 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 616ebd8b9cb455c5949bd94c47283835eba1954a)
|