]> git.baikalelectronics.ru Git - kernel.git/commit
usbcore: fix read of usbdevfs_ctrltransfer fields in proc_control()
authorXenia Ragiadakou <burzalodowa@gmail.com>
Sat, 31 Aug 2013 15:09:14 +0000 (18:09 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Sep 2013 16:49:24 +0000 (09:49 -0700)
commitfe7e67458022b5f0b0b8f56f121c3e22a2a5f42e
treedfb390f7a2da63976ce2dbfcafc3007ca6e0c41c
parent36f28fc4be39163aea7f5fb825c4459cbcd417b1
usbcore: fix read of usbdevfs_ctrltransfer fields in proc_control()

Urb fields are stored in struct usbdevfs_ctrltransfer in CPU byteorder
and not in little endian, so there is no need to be converted.
This bug was reported by sparse.

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/devio.c