Greg Kroah-Hartman 16e2e5f634 USB: make transfer_buffer_lengths in struct urb field u32
Roel Kluin pointed out that transfer_buffer_lengths in struct urb was
declared as an 'int'.  This patch changes this field to be 'u32' to
prevent any potential negative conversion and comparison errors.

This triggered a few compiler warning messages when these fields were
being used with the min macro, so they have also been fixed up in this
patch.

Cc: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-03-24 16:20:36 -07:00
..
2009-02-27 14:40:50 -08:00
2008-11-13 14:45:02 -08:00
2009-03-24 16:20:33 -07:00
2008-12-22 18:22:50 +00:00
2008-11-13 14:45:02 -08:00
2008-08-13 17:32:58 -07:00
2009-03-24 16:20:29 -07:00
2008-08-29 09:43:14 +02:00