From: Eric Sesterhenn Date: Mon, 21 Aug 2006 22:31:05 +0000 (-0700) Subject: USB: fix signedness issue in drivers/usb/gadget/ether.c X-Git-Tag: v2.6.19-rc1~899^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55359021b9a75a6d61a49ca8b9a1209793cd55f7;p=pandora-kernel.git USB: fix signedness issue in drivers/usb/gadget/ether.c another gcc 4.1 signdness warning: drivers/usb/gadget/ether.c:2028: warning: comparison of unsigned expression < 0 is always false length is assigned the value of usb_ep_queue() which returns an int. Directly after this it is checked for < 0, which can never be true. Making length an int makes the error check work again. Signed-off-by: Eric Sesterhenn Acked-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed