• Arnd Bergmann's avatar
    caif: reduce stack size with KASAN · ce628966
    Arnd Bergmann authored
    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: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    ce628966
Name
Last commit
Last update
..
caif_dev.h Loading commit data...
caif_device.h Loading commit data...
caif_hsi.h Loading commit data...
caif_layer.h Loading commit data...
caif_spi.h Loading commit data...
cfcnfg.h Loading commit data...
cfctrl.h Loading commit data...
cffrml.h Loading commit data...
cfmuxl.h Loading commit data...
cfpkt.h Loading commit data...
cfserl.h Loading commit data...
cfsrvl.h Loading commit data...