]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: usbtmc: Use explicit unsigned type for input buffer instead of char*
authorChris Malley <mail@chrismalley.co.uk>
Sat, 25 Oct 2008 21:07:32 +0000 (22:07 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 29 Oct 2008 21:54:40 +0000 (14:54 -0700)
commitb361a6e348a5de9e18eb17542663d34a57740e87
treeef70ae0b29ceadb3184fe03c569bed59d7d268cf
parentcde217a556ec552d28ac9e136c5a94684a69ae94
USB: usbtmc: Use explicit unsigned type for input buffer instead of char*

Silences compiler warning about comparison with 0x80, and type now matches the
corresponding _bulk_out function.

drivers/usb/class/usbtmc.c: In function ‘usbtmc_ioctl_abort_bulk_in’:
drivers/usb/class/usbtmc.c:163: warning: comparison is always false due to limited range of data type

Signed-off-by: Chris Malley <mail@chrismalley.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/usbtmc.c