summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2014-08-20 19:25:34 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-03 09:54:16 -0300
commitff3ec57df9e87bcb18e81157cbe3bef3159d76a3 (patch)
treeb429e3dd3170bd97b61ec255da2902f7633a98d6 /tools
parentfba16a1eee5c2d93d010a5b7c41d9c4b478c7eb8 (diff)
downloadtalos-obmc-linux-ff3ec57df9e87bcb18e81157cbe3bef3159d76a3.tar.gz
talos-obmc-linux-ff3ec57df9e87bcb18e81157cbe3bef3159d76a3.zip
[media] s2255drv: fix sparse warning
drivers/media/usb/s2255/s2255drv.c:2248:20: warning: cast to restricted __le16 At the USB structs there are two different idProduct: usb_device_id::idProduct - already on CPU endiannes usb_device::descriptor.idProduct - with is LE16 In this specific case, the driver checks for the one at usb_device_id struct, with already have CPU endianness. So, no conversion is required. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud