Skip to content
Commit b361a6e3 authored by Chris Malley's avatar Chris Malley Committed by Greg Kroah-Hartman
Browse files

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: default avatarChris Malley <mail@chrismalley.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent cde217a5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment