diff options
author | Drew Fisher <drew.m.fisher@gmail.com> | 2011-04-21 13:51:34 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-05-20 16:30:57 +0400 |
commit | bb066467aa1af2d45ffbfcbba32c0bde201c8eb4 (patch) | |
tree | 32ca54eb02750521ce59ceb99d3443bf0b46f378 /sound | |
parent | aff8ab5cc11c2c14b7ae3bb38cbe012c43b7dcef (diff) | |
download | linux-bb066467aa1af2d45ffbfcbba32c0bde201c8eb4.tar.xz |
[media] gspca - kinect: move communications buffers out of stack
Move large communications buffers out of stack and into device
structure. This prevents the frame size from being >1kB and fixes a
compiler warning when CONFIG_FRAME_WARN=1024:
drivers/media/video/gspca/kinect.c: In function ‘send_cmd.clone.0’:
drivers/media/video/gspca/kinect.c:202: warning: the frame size of 1548 bytes is larger than 1024 bytes
Reported-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions