Files
kernel_realme_nemo/include/net
Arnd Bergmann 2e12ca4489 caif: reduce stack size with KASAN
commit ce6289661b14a8b391d90db918c91b6d6da6540a upstream.

When CONFIG_KASAN is set, we can use relatively large amounts of kernel
stack space:

net/caif/cfctrl.c:555:1: warning: the frame size of 1600 bytes is larger than 1280 bytes [-Wframe-larger-than=]

This adds convenience wrappers around cfpkt_extr_head(), which is responsible
for most of the stack growth. With those wrapper functions, gcc apparently
starts reusing the stack slots for each instance, thus avoiding the
problem.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-05-08 07:20:45 +02:00
..
2017-07-11 06:08:58 -04:00
2019-05-08 07:20:45 +02:00
2018-09-29 03:06:01 -07:00
2019-03-23 14:35:16 +01:00
2019-02-23 09:06:44 +01:00
2018-10-18 09:16:17 +02:00
2017-08-31 14:42:19 -07:00
2019-03-13 14:03:09 -07:00
2017-06-15 12:12:40 -04:00
2018-05-16 10:10:23 +02:00
2018-02-25 11:07:59 +01:00