diff options
author | Mauro Carvalho Chehab <[email protected]> | 2013-11-02 07:52:04 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2013-11-08 09:45:45 -0200 |
commit | 65e2f1cb3fe0f0630834b9517ba8f631936f325c (patch) | |
tree | f2f93e789f1063659ffc912583289a666d8ffb5c /lib/memory-notifier-error-inject.c | |
parent | 0065a79a8698a953e4b201c5fce8db8940530578 (diff) |
[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 <[email protected]>
Reviewed-by: Hans Verkuil <[email protected]>
Reviewed-by: Antti Palosaari <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions