Thread (2 messages) flat view 2 messages, 2 authors, 2021-11-29

Re: [PATCH] Input: iqs626a - prohibit inlining of channel parsing functions

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2021-11-29 07:45:39

On Sun, Nov 28, 2021 at 06:41:04PM -0600, Jeff LaBundy wrote:
Some automated builds report a stack frame size in excess
of 2 kB for iqs626_probe(); the culprit appears to be the
call to iqs626_parse_prop().

To solve this problem, specify noinline_for_stack for all
of the iqs626_parse_*() helper functions which are called
inside a for loop within iqs626_parse_prop().

As a result, a build with '-Wframe-larger-than' as low as
512 is free of any such warnings.

Reported-by: kernel test robot <redacted>
Signed-off-by: Jeff LaBundy <redacted>
Applied, thank you.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help