diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-03-13 12:19:18 +0100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2009-03-20 08:49:30 +1100 |
commit | 186069b5c8c54e3807dcb80ea676d2392a0f8d88 (patch) | |
tree | 8ba9b362539b88736f3eda79e22f5ecc8defe42d /drivers/staging/meilhaus | |
parent | da94b9a8f58f0da06bfca6ab440b4d381e6bd732 (diff) |
USB: more u32 conversion after transfer_buffer_length and actual_length
transfer_buffer_length and actual_length have become unsigned, therefore some
additional conversion of local variables, function arguments and print
specifications is desired.
A test for a negative urb->transfer_buffer_length became obsolete; instead
we ensure that it does not exceed INT_MAX. Also, urb->actual_length is always
less than urb->transfer_buffer_length.
rh_string() does no longer return -EPIPE in the case of an unsupported ID.
Instead its only caller, rh_call_control() does the check.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/meilhaus')
0 files changed, 0 insertions, 0 deletions