diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-11-02 11:16:47 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-04 19:06:33 (GMT) |
commit | 282e059380646cb413fb3917ba9035032cd6d986 (patch) | |
tree | 5cf80d67850d2af87611f3a832b4f015c368711b /sound/pci/au88x0/au8820.h | |
parent | 182c12850fdaf9fa01e41e220c3afc4a232fe259 (diff) | |
download | linux-fsl-qoriq-282e059380646cb413fb3917ba9035032cd6d986.tar.xz |
media: lirc_zilog: Don't use dynamic static allocation
commit ac5b4b6bf0c84c48d7e2e3fce22e35b04282ba76 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/pci/au88x0/au8820.h')
0 files changed, 0 insertions, 0 deletions