summaryrefslogtreecommitdiff
path: root/net/caif/cfveil.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-01-16 19:34:00 +0300
committerDavid S. Miller <davem@davemloft.net>2018-01-19 22:02:12 +0300
commitce6289661b14a8b391d90db918c91b6d6da6540a (patch)
tree73dc6d7aad08f3f6cd0328641e870ff9e71e7025 /net/caif/cfveil.c
parentaa73dc95b2de107b88df5871c7f483446507330f (diff)
downloadlinux-ce6289661b14a8b391d90db918c91b6d6da6540a.tar.xz
caif: reduce stack size with KASAN
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>
Diffstat (limited to 'net/caif/cfveil.c')
0 files changed, 0 insertions, 0 deletions