diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-11-02 14:52:04 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-11-08 15:45:45 +0400 |
commit | 65e2f1cb3fe0f0630834b9517ba8f631936f325c (patch) | |
tree | f2f93e789f1063659ffc912583289a666d8ffb5c /drivers/media/dvb-core | |
parent | 0065a79a8698a953e4b201c5fce8db8940530578 (diff) | |
download | linux-65e2f1cb3fe0f0630834b9517ba8f631936f325c.tar.xz |
[media] af9015: 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/usb/dvb-usb-v2/af9015.c:433:1: warning: 'af9015_eeprom_hash' uses dynamic stack allocation [enabled by default]
In this specific case, it is a gcc bug, as the size is a const, but
it is easy to just change it from const to a #define, getting rid of
the gcc warning.
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-core')
0 files changed, 0 insertions, 0 deletions