diff options
| author | Arnd Bergmann <[email protected]> | 2019-02-22 09:50:03 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-03-19 14:00:32 -0400 |
| commit | e855165f3dae6f71da859a5f00b85d5368641d61 (patch) | |
| tree | 6c7877d665815dafda635198bfd128ac5f8b2d17 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 7afb0df554292dca7568446f619965fb8153085d (diff) | |
media: vicodec: avoid clang frame size warning
Clang-9 makes some different inlining decisions compared to gcc, which
leads to a warning about a possible stack overflow problem when building
with CONFIG_KASAN, including when setting asan-stack=0, which avoids
most other frame overflow warnings:
drivers/media/platform/vicodec/codec-fwht.c:673:12: error: stack frame size of 2224 bytes in function 'encode_plane'
Manually adding noinline_for_stack annotations in those functions
called by encode_plane() or decode_plane() that require a significant
amount of kernel stack makes this impossible to happen with any
compiler.
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions