Re: [PATCH 2/3] media: vicodec: avoic clang frame size warning

2019-02-19 Thread Hans Verkuil
On 2/19/19 6:01 PM, Arnd Bergmann wrote: > 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: >

Re: [PATCH 2/3] media: vicodec: avoic clang frame size warning

2019-02-19 Thread Arnd Bergmann
On Tue, Feb 19, 2019 at 8:02 PM Nick Desaulniers wrote: > On Tue, Feb 19, 2019 at 9:02 AM Arnd Bergmann wrote: > > > > 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, includi

Re: [PATCH 2/3] media: vicodec: avoic clang frame size warning

2019-02-19 Thread Nick Desaulniers
On Tue, Feb 19, 2019 at 9:02 AM Arnd Bergmann wrote: > > 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 overf

[PATCH 2/3] media: vicodec: avoic clang frame size warning

2019-02-19 Thread Arnd Bergmann
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:1