alistair23-linux/net/caif
Arnd Bergmann ce6289661b 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>
2018-01-19 14:02:12 -05:00
..
caif_dev.c net: caif: use strlcpy() instead of strncpy() 2018-01-09 11:52:18 -05:00
caif_socket.c net: convert sock.sk_wmem_alloc from atomic_t to refcount_t 2017-07-01 07:39:08 -07:00
caif_usb.c caif_usb: use strlcpy() instead of strncpy() 2018-01-10 15:06:14 -05:00
cfcnfg.c net: caif: use strlcpy() instead of strncpy() 2018-01-09 11:52:18 -05:00
cfctrl.c caif: reduce stack size with KASAN 2018-01-19 14:02:12 -05:00
cfdbgl.c
cfdgml.c
cffrml.c caif: fix a signedness bug in cfpkt_iterate() 2015-02-20 17:35:14 -05:00
cfmuxl.c
cfpkt_skbuff.c net: caif: remove unused hardirq.h 2018-01-08 20:59:25 -05:00
cfrfml.c net: caif: fix erroneous return value 2016-02-18 14:59:35 -05:00
cfserl.c
cfsrvl.c
cfutill.c
cfveil.c
cfvidl.c
chnl_net.c net: caif: remove unused hardirq.h 2018-01-08 20:59:25 -05:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00