diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-11-02 14:52:04 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-04 22:57:30 +0400 |
commit | 08c049cf8a259c6c1f204451ab2ed661be3c5dd5 (patch) | |
tree | 2f5fab152cea8885283210a570d7c78b43908bb2 /drivers/media/usb/pwc/Makefile | |
parent | fd30877d2b8ef6a7cd82d780c4f21f13f2263144 (diff) | |
download | linux-08c049cf8a259c6c1f204451ab2ed661be3c5dd5.tar.xz |
media: af9015: Don't use dynamic static allocation
commit 65e2f1cb3fe0f0630834b9517ba8f631936f325c upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/media/usb/pwc/Makefile')
0 files changed, 0 insertions, 0 deletions