diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-11-02 04:29:42 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-11-08 09:45:38 -0200 |
commit | 9736a89dafe07359d9c86bf9c3b815a250b354bc (patch) | |
tree | cb55432ce8acc50f6aaf18bd622aebfd7f2102f7 /REPORTING-BUGS | |
parent | ce01cbdc54d6869f0ee3230be2b8cfc9fd1366f3 (diff) | |
download | blackbird-obmc-linux-9736a89dafe07359d9c86bf9c3b815a250b354bc.tar.gz blackbird-obmc-linux-9736a89dafe07359d9c86bf9c3b815a250b354bc.zip |
[media] s5h1420: Don't use dynamic static allocation
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>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions