summaryrefslogtreecommitdiff
path: root/drivers/serial/arm_dcc.c
diff options
context:
space:
mode:
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>2019-11-21 22:15:22 +0100
committerMarek Vasut <marek.vasut+renesas@gmail.com>2019-11-22 01:25:36 +0100
commit616ebd8b9cb455c5949bd94c47283835eba1954a (patch)
treee717c11019f7478d9772ad07cb97548680be2c03 /drivers/serial/arm_dcc.c
parente5521b1c6f4e2d18f7b33e6db06af5e47fdef52c (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 'drivers/serial/arm_dcc.c')
0 files changed, 0 insertions, 0 deletions