usbhid endianness annotations and fixes
authorAl Viro <viro@ftp.linux.org.uk>
Mon, 28 Apr 2008 06:00:05 +0000 (07:00 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 17:03:31 +0000 (10:03 -0700)
commit01d7b369887b6feb7c9ce2b20988fafe3f70841c
tree562a5c2696aed8982cfbc616add8bb05d8073d1e
parentd28aa3ac4cdc2d03a2bde4b78780064a00f7ef61
usbhid endianness annotations and fixes

usb_control_msg() converts arguments to little-endian itself,
doing that in caller means breakage on big-endian boxen.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/hid/usbhid/hid-core.c
include/linux/hid.h