summaryrefslogtreecommitdiff
path: root/net/batman-adv
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-01-25 23:15:53 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-26 14:00:12 -0500
commit27d807180ae0a9e50d90adf9b22573c21be904c2 (patch)
tree9ea7518c9d96a48ee47c467e92492a497c55d6b1 /net/batman-adv
parent5b9d6b154a622d0481123c1b149afdf377264268 (diff)
ISDN: eicon: reduce stack size of sig_ind function
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>
Diffstat (limited to 'net/batman-adv')
0 files changed, 0 insertions, 0 deletions