1
0
Fork 0
remarkable-linux/drivers/isdn
Arnd Bergmann 04c64a88ce ISDN: eicon: reduce stack size of sig_ind function
commit 27d807180a upstream.

I noticed that this function uses a lot of kernel stack when the
"latent entropy" plugin is enabled:

drivers/isdn/hardware/eicon/message.c: In function 'sig_ind':
drivers/isdn/hardware/eicon/message.c:6113:1: error: the frame size of 1168 bytes is larger than 1152 bytes [-Werror=frame-larger-than=]

We currently don't warn about this, as we raise the warning limit
to 2048 bytes in mainline, but I'd like to lower that limit again
in the future, and this function can easily be changed to be more
efficient and avoid that warning, by making some of its local
variables 'const'.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-25 11:05:55 +01:00
..
capi isdn: kcapi: avoid uninitialized data 2017-12-25 14:23:42 +01:00
divert isdn: divert, hysdn: fix interruptible_sleep_on race 2014-02-26 16:06:13 -05:00
gigaset isdn/gigaset: fix NULL-deref at probe 2017-03-26 13:05:58 +02:00
hardware ISDN: eicon: reduce stack size of sig_ind function 2018-02-25 11:05:55 +01:00
hisax isdn: hisax: set error code on failure 2016-12-05 15:03:42 -05:00
hysdn treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
i4l isdn/i4l: fetch the ppp_write buffer in one shot 2017-10-12 11:51:21 +02:00
isdnloop drivers: isdn: isdnloop: isdnloop.c: Remove parenthesis around return values, as specified in CodingStyle. 2015-02-05 15:40:23 -08:00
mISDN mISDN: Fixing missing validation in base_sock_bind() 2016-04-13 23:00:50 -04:00
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile isdn: i4l: move active-isdn drivers to staging 2016-03-05 15:00:38 -08:00