summaryrefslogtreecommitdiff
path: root/drivers/media/tuners/tda18212.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-12-11 07:06:04 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-14 12:16:05 -0500
commit8ff230fb4f48816cd18a558a0d26f580178a26df (patch)
tree134f14126a7e02bff63345501e02055b27ba957b /drivers/media/tuners/tda18212.c
parentc6b73bfcead9500e6b841cadb44f38324202ef77 (diff)
downloadlinux-next-8ff230fb4f48816cd18a558a0d26f580178a26df.tar.gz
media: tuners: tda8290: reduce stack usage with kasan
With CONFIG_KASAN enabled, we get a relatively large stack frame in one function drivers/media/tuners/tda8290.c: In function 'tda8290_set_params': drivers/media/tuners/tda8290.c:310:1: warning: the frame size of 1520 bytes is larger than 1024 bytes [-Wframe-larger-than=] With CONFIG_KASAN_EXTRA this goes up to drivers/media/tuners/tda8290.c: In function 'tda8290_set_params': drivers/media/tuners/tda8290.c:310:1: error: the frame size of 3200 bytes is larger than 3072 bytes [-Werror=frame-larger-than=] We can significantly reduce this by marking local arrays as 'static const', and this should result in better compiled code for everyone. [mchehab@s-opensource.com: fix a trivial merge conflict] Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Michael Ira Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/tuners/tda18212.c')
0 files changed, 0 insertions, 0 deletions