]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00290635-1 mxc vout:Fix a build warning
authorLiu Ying <Ying.Liu@freescale.com>
Wed, 4 Dec 2013 03:26:12 +0000 (11:26 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 16 Jun 2014 16:09:02 +0000 (18:09 +0200)
commit185aa2f65907820dd0f38ba988a257c49ecafe1b
treefcd25feb5b4173bd0e3bdcc5c36582858b0d5fbd
parent5ae9a71bec700cfa4bea8ee7698607e5281abcf5
ENGR00290635-1 mxc vout:Fix a build warning

This patch fixes the following build warning by allocating
a block of virtual memory to cache an instance of the structure
mxc_vout_output instead of using the stack frame.
drivers/media/platform/mxc/output/mxc_vout.c: In function ‘mxc_vidioc_s_crop’:
drivers/media/platform/mxc/output/mxc_vout.c:1529:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
drivers/media/platform/mxc/output/mxc_vout.c