From: John Youn Date: Mon, 23 May 2016 18:32:40 +0000 (-0700) Subject: usb: dwc3: ep0: Use the correct type for SET_SEL data X-Git-Tag: v4.8-rc1~191^2~23^2~73 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=501058edebf957a3c101c8119c3286e496873840;p=karo-tx-linux.git usb: dwc3: ep0: Use the correct type for SET_SEL data u2sel and u2pel should be __le16. Doesn't fix any issue. Found with sparse. Signed-off-by: John Youn Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/dwc3/ep0.c b/drivers/usb/dwc3/ep0.c index c814dde27138..93d6cdd9e0c9 100644 --- a/drivers/usb/dwc3/ep0.c +++ b/drivers/usb/dwc3/ep0.c @@ -619,8 +619,8 @@ static void dwc3_ep0_set_sel_cmpl(struct usb_ep *ep, struct usb_request *req) struct timing { u8 u1sel; u8 u1pel; - u16 u2sel; - u16 u2pel; + __le16 u2sel; + __le16 u2pel; } __packed timing; int ret;