From: Laurent Pinchart Date: Tue, 24 Apr 2012 09:29:42 +0000 (+0200) Subject: usb gadget: uvc: uvc_request_data::length field must be signed X-Git-Tag: v3.2.17~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbc0551878f39fce33be5dd54ec6773664498386;p=pandora-kernel.git usb gadget: uvc: uvc_request_data::length field must be signed commit 6f6543f53f9ce136e01d7114bf6f0818ca54fb41 upstream. The field is used to pass the UVC request data length, but can also be used to signal an error when setting it to a negative value. Switch from unsigned int to __s32. Reported-by: Fernandez Gonzalo Signed-off-by: Laurent Pinchart Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed