usb: composite: fix unalinged address about packed structure 91/220391/1
authorJaehoon Chung <jh80.chung@samsung.com>
Wed, 18 Dec 2019 03:27:58 +0000 (12:27 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 18 Dec 2019 03:45:29 +0000 (12:45 +0900)
commit6e6523e0e16f1c5dc4c68968eaea94477b458fc0
treeb3c2137245ee73dd73dc6737061310919ffb5a35
parent3f98b0827c777c7e00493d75df1bbbef233e2dab
usb: composite: fix unalinged address about packed structure

Since upgrading to gcc9, warnings are issued:
"taking address of packed member of ‘...’ may result in an unaligned
pointer value"

This patch is refered to below commit
- commit 616ebd8b9cb "usb: composite: fix possible alignment issues"

Change-Id: Idceb5b56f7daf1481de528f95a1a2f1f9b57c0dd
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/usb/gadget/composite.c