From: Mauro Carvalho Chehab Date: Sat, 2 Nov 2013 10:52:04 +0000 (-0300) Subject: [media] af9015: Don't use dynamic static allocation X-Git-Tag: v3.13-rc1~46^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65e2f1cb3fe0f0630834b9517ba8f631936f325c;p=pandora-kernel.git [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 Reviewed-by: Hans Verkuil Reviewed-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed