From: Paul Zimmerman Date: Fri, 25 Apr 2014 21:18:13 +0000 (-0700) Subject: usb: dwc2: fix sparse warning X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~34^2~184 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5dbd3f7d82223b59dc2200c0e9f4f95665a21a4;p=pandora-kernel.git usb: dwc2: fix sparse warning Sparse warns about the __le16 wValue from the USB SetAddress command being used without converting it to CPU endianness. Fix that, and also add a bit of defensive masking of the received wValue before using it. Reported-by: Fengguang Wu Signed-off-by: Paul Zimmerman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed