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

From
Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date
2021-11-29 07:45:39
Reply to
Jeff LaBundy, 2021-11-29
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
Thread (2 messages) 2 messages, 2 authors, last reply 2021-11-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help