From: Drew Fisher Date: Thu, 21 Apr 2011 08:37:07 +0000 (+0200) Subject: gspca - kinect: move communications buffers out of stack X-Git-Url: https://git.ao2.it/gspca_kinect.git/commitdiff_plain/9da7655e0169c1067c3e9f38e52dd14ec5563596?ds=inline;hp=9da7655e0169c1067c3e9f38e52dd14ec5563596 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 Signed-off-by: Drew Fisher Signed-off-by: Antonio Ospite ---