diff options
author | Jeff LaBundy <jeff@labundy.com> | 2021-11-28 23:41:42 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2021-11-28 23:59:35 -0800 |
commit | e1f5e848209a1b51ccae50721b27684c6f9d978f (patch) | |
tree | d21080cb660e99c3516bed53a213f2f74d16e46f /drivers/usb/cdns3/cdns3-ep0.c | |
parent | 9222ba68c3f4065f6364b99cc641b6b019ef2d42 (diff) |
Input: iqs626a - prohibit inlining of channel parsing functions
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 <lkp@intel.com>
Signed-off-by: Jeff LaBundy <jeff@labundy.com>
Link: https://lore.kernel.org/r/20211129004104.453930-1-jeff@labundy.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ep0.c')
0 files changed, 0 insertions, 0 deletions