git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66f75a5
)
usb gadget: uvc: uvc_request_data::length field must be signed
author
Laurent Pinchart
<laurent.pinchart@ideasonboard.com>
Tue, 24 Apr 2012 09:29:42 +0000
(11:29 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 24 Apr 2012 20:55:37 +0000
(13:55 -0700)
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 <gfernandez@copreci.es>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found