diff options
author | Mauro Carvalho Chehab | 2013-11-02 12:16:47 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2013-11-08 12:45:46 +0100 |
commit | ac5b4b6bf0c84c48d7e2e3fce22e35b04282ba76 (patch) | |
tree | cb63d3cb26bdf01c5df52afeeb6d18e8131ba091 /drivers/media | |
parent | [media] mxl111sf: Don't use dynamic static allocation (diff) | |
download | kernel-qcow2-linux-ac5b4b6bf0c84c48d7e2e3fce22e35b04282ba76.tar.gz kernel-qcow2-linux-ac5b4b6bf0c84c48d7e2e3fce22e35b04282ba76.tar.xz kernel-qcow2-linux-ac5b4b6bf0c84c48d7e2e3fce22e35b04282ba76.zip |
[media] lirc_zilog: Don't use dynamic static allocation
Dynamic static allocation is evil, as Kernel stack is too low, and
ompilation complains about it on some archs:
drivers/staging/media/lirc/lirc_zilog.c:967:1: warning: 'read' uses dynamic stack allocation [enabled by default]
Instead, let's enforce a limit for the buffer to be 64. That should
be more than enough.
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 'drivers/media')
0 files changed, 0 insertions, 0 deletions