diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-04-24 11:29:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-07 08:56:36 -0700 |
commit | 1cb1976ecd018b02825e5a0fba06ffe95bdaedc6 (patch) | |
tree | 188ae6313e230d6e2d3d946168d4d8bcde1a9346 /fs/dcache.c | |
parent | 06200304e7eb237015f433bd8884975e93aba1f5 (diff) | |
download | linux-stable-1cb1976ecd018b02825e5a0fba06ffe95bdaedc6.tar.gz linux-stable-1cb1976ecd018b02825e5a0fba06ffe95bdaedc6.tar.bz2 linux-stable-1cb1976ecd018b02825e5a0fba06ffe95bdaedc6.zip |
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 <gfernandez@copreci.es>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/dcache.c')
0 files changed, 0 insertions, 0 deletions