commit | 7e509a3eb1ca068ae46fb480f2a1ff5ef503a0c0 | [log] [tgz] |
---|---|---|
author | Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> | Thu Nov 21 22:15:22 2019 +0100 |
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | Fri Nov 22 01:25:36 2019 +0100 |
tree | e717c11019f7478d9772ad07cb97548680be2c03 | |
parent | 833e4d149e60e6043adfea98974af9018669b61f [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>