android_kernel_oneplus_msm8998/drivers/isdn/hardware/eicon
Arnd Bergmann 31f92b9f17 ISDN: eicon: reduce stack size of sig_ind function
commit 27d807180ae0a9e50d90adf9b22573c21be904c2 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:03:49 +01:00
..
adapter.h
capi20.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
capidtmf.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
capidtmf.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
capifunc.c isdn/eicon: use standard __init,__exit function markup 2012-04-27 00:03:34 -04:00
capifunc.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
capimain.c isdn/eicon: use standard __init,__exit function markup 2012-04-27 00:03:34 -04:00
cardtype.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
cp_vers.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
dadapter.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
dadapter.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
debug.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
debug_if.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
debuglib.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
debuglib.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
dfifo.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
di.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
di.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
di_dbg.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
di_defs.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
did_vers.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
diddfunc.c isdn/eicon: use standard __init,__exit function markup 2012-04-27 00:03:34 -04:00
diva.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
diva.h
diva_didd.c isdn/eicon: use standard __init,__exit function markup 2012-04-27 00:03:34 -04:00
diva_dma.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
diva_dma.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
diva_pci.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
divacapi.h treewide: Replace incomming with incoming in all comments and strings 2013-01-03 16:15:49 +01:00
divamnt.c isdn/eicon: use standard __init,__exit function markup 2012-04-27 00:03:34 -04:00
divasfunc.c isdn/eicon: use standard __init,__exit function markup 2012-04-27 00:03:34 -04:00
divasi.c isdn/eicon: use standard __init,__exit function markup 2012-04-27 00:03:34 -04:00
divasmain.c isdn: remove deprecated IRQF_DISABLED 2013-10-17 15:13:20 -04:00
divasproc.c procfs: new helper - PDE_DATA(inode) 2013-04-09 14:13:32 -04:00
divasync.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
dqueue.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
dqueue.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
dsp_defs.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
dsp_tst.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
dspdids.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
dsrv4bri.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
dsrv_bri.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
dsrv_pri.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
entity.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
helpers.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
idifunc.c isdn/eicon: use standard __init,__exit function markup 2012-04-27 00:03:34 -04:00
io.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
io.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
istream.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
Kconfig Use menuconfig objects: ISDN: CONFIG_CAPI_EICON 2007-07-17 10:23:06 -07:00
kst_ifc.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
maintidi.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
maintidi.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
Makefile
man_defs.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
mdm_msg.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
message.c ISDN: eicon: reduce stack size of sig_ind function 2018-02-25 11:03:49 +01:00
mi_pc.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
mntfunc.c isdn/eicon: use standard __init,__exit function markup 2012-04-27 00:03:34 -04:00
os_4bri.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
os_4bri.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
os_bri.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
os_bri.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
os_capi.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
os_pri.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
os_pri.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
pc.h treewide: Replace incomming with incoming in all comments and strings 2013-01-03 16:15:49 +01:00
pc_init.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
pc_maint.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
pkmaint.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
platform.h isdn/eicon: use standard __init,__exit function markup 2012-04-27 00:03:34 -04:00
pr_pc.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
s_4bri.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
s_bri.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
s_pri.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
sdp_hdr.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
um_idi.c isdn: eicon: free pointer after using it in log msg in divas_um_idi_delete_entity() 2013-10-02 16:00:59 -04:00
um_idi.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
um_xdi.h
xdi_adapter.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
xdi_msg.h drivers: isdn: eicon: xdi_msg.h: Fix typo in #ifndef 2014-08-22 11:31:30 -07:00
xdi_vers.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00