V4L/DVB: dib3000mc: reduce large stack usage
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 8 Feb 2010 23:30:33 +0000 (20:30 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:58:31 +0000 (12:58 -0300)
commit0de8e3533e08745616a30bdb3fa5106c85083e51
tree88ebe4b92bc4b11c5d534f2259e30466a1270718
parent0b42760a75afb852be6718fb5e6b54988123b40e
V4L/DVB: dib3000mc: reduce large stack usage

This patch reduces static stack usage of one of the 2 top offenders
as listed by 'make checkstack':

Building with CONFIG_FRAME_WARN=2048 produces:

drivers/media/dvb/frontends/dib3000mc.c:853: warning: the frame size of 2224 bytes is larger than 2048 bytes

and in 'make checkstack', the stack usage goes from:
0x00000bbd dib3000mc_i2c_enumeration [dib3000mc]: 2232
to unlisted with this patch.

I don't have the hardware that is needed to test this patch.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Patrick Boettcher <pboettcher@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/dib3000mc.c