summaryrefslogtreecommitdiffstats
path: root/sound/hda
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-11-30 12:08:05 +0100
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-15 17:53:45 +0100
commit16c3ada89cff9a8c2a0eea34ffa1aa20af3f6008 (patch)
tree34274271c53ba0473ad9c428d982d89e90bd6cb5 /sound/hda
parentmedia: pxa_camera: rename the soc_camera_ prefix to pxa_camera_ (diff)
downloadlinux-16c3ada89cff9a8c2a0eea34ffa1aa20af3f6008.tar.xz
linux-16c3ada89cff9a8c2a0eea34ffa1aa20af3f6008.zip
media: r820t: fix r820t_write_reg for KASAN
With CONFIG_KASAN, we get an overly long stack frame due to inlining the register access functions: drivers/media/tuners/r820t.c: In function 'generic_set_freq.isra.7': drivers/media/tuners/r820t.c:1334:1: error: the frame size of 2880 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] This is caused by a gcc bug that has now been fixed in gcc-8. To work around the problem, we can pass the register data through a local variable that older gcc versions can optimize out as well. Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81715 Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'sound/hda')
0 files changed, 0 insertions, 0 deletions