Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1567672

Re: [PATCH] [net-next] ISDN: eicon: reduce stack size of sig_ind function

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] [net-next] ISDN: eicon: reduce stack size of sig_ind function
Date 2017-01-26 21:00 +0100
Message-ID <t3Yn7-30B-1@gated-at.bofh.it> (permalink)
References <t3E53-7DH-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Arnd Bergmann <arnd@arndb.de>
Date: Wed, 25 Jan 2017 23:15:53 +0100

> 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>

Applied, thanks Arnd.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] [net-next] ISDN: eicon: reduce stack size of sig_ind function Arnd Bergmann <arnd@arndb.de> - 2017-01-25 23:20 +0100
  Re: [PATCH] [net-next] ISDN: eicon: reduce stack size of sig_ind  function David Miller <davem@davemloft.net> - 2017-01-26 21:00 +0100

csiph-web