From: Greg Kroah-Hartman Date: Wed, 4 Mar 2009 00:44:13 +0000 (-0800) Subject: USB: make transfer_buffer_lengths in struct urb field u32 X-Git-Tag: v2.6.30-rc1~670^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16e2e5f634f86ccda18366967c4e592eb61bc9cc;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed