summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2013-11-02 07:29:42 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-04 19:06:35 (GMT)
commit1f227a966d9ecb65c84f44d91d6d4651fcb95dd5 (patch)
tree45534250a200131ad6ed11fb8fb3778081673e80 /crypto
parent19496d61f3962fd6470b106b779eddcdbe823c9b (diff)
downloadlinux-fsl-qoriq-1f227a966d9ecb65c84f44d91d6d4651fcb95dd5.tar.xz
media: s5h1420: Don't use dynamic static allocation
commit 9736a89dafe07359d9c86bf9c3b815a250b354bc upstream. Dynamic static allocation is evil, as Kernel stack is too low, and compilation complains about it on some archs: drivers/media/dvb-frontends/s5h1420.c:851:1: warning: 's5h1420_tuner_i2c_tuner_xfer' uses dynamic stack allocation [enabled by default] Instead, let's enforce a limit for the buffer. In the specific case of this frontend, only ttpci uses it. The maximum number of messages there is two, on I2C read operations. As the logic can add an extra operation, change the size to 3. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com> Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions