diff options
author | Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> | 2019-11-21 22:15:22 +0100 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | 2019-11-22 01:25:36 +0100 |
commit | 616ebd8b9cb455c5949bd94c47283835eba1954a (patch) | |
tree | e717c11019f7478d9772ad07cb97548680be2c03 /arch/arm/cpu/arm946es | |
parent | e5521b1c6f4e2d18f7b33e6db06af5e47fdef52c (diff) |
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.
Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Diffstat (limited to 'arch/arm/cpu/arm946es')
0 files changed, 0 insertions, 0 deletions