mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
0065a79a86
Dynamic static allocation is evil, as Kernel stack is too low, and compilation complains about it on some archs: drivers/media/usb/dvb-usb/dw2102.c:368:1: warning: 'dw2102_earda_i2c_transfer' uses dynamic stack allocation [enabled by default] drivers/media/usb/dvb-usb/dw2102.c:449:1: warning: 'dw2104_i2c_transfer' uses dynamic stack allocation [enabled by default] drivers/media/usb/dvb-usb/dw2102.c:512:1: warning: 'dw3101_i2c_transfer' uses dynamic stack allocation [enabled by default] drivers/media/usb/dvb-usb/dw2102.c:621:1: warning: 's6x0_i2c_transfer' uses dynamic stack allocation [enabled by default] Instead, let's enforce a limit for the buffer to be the max size of a control URB payload data (64 bytes). Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com> Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com> |
||
---|---|---|
.. | ||
a800.c | ||
af9005-fe.c | ||
af9005-remote.c | ||
af9005-script.h | ||
af9005.c | ||
af9005.h | ||
az6027.c | ||
az6027.h | ||
cinergyT2-core.c | ||
cinergyT2-fe.c | ||
cinergyT2.h | ||
cxusb.c | ||
cxusb.h | ||
dib07x0.h | ||
dib0700_core.c | ||
dib0700_devices.c | ||
dib0700.h | ||
dibusb-common.c | ||
dibusb-mb.c | ||
dibusb-mc.c | ||
dibusb.h | ||
digitv.c | ||
digitv.h | ||
dtt200u-fe.c | ||
dtt200u.c | ||
dtt200u.h | ||
dtv5100.c | ||
dtv5100.h | ||
dvb-usb-common.h | ||
dvb-usb-dvb.c | ||
dvb-usb-firmware.c | ||
dvb-usb-i2c.c | ||
dvb-usb-init.c | ||
dvb-usb-remote.c | ||
dvb-usb-urb.c | ||
dvb-usb.h | ||
dw2102.c | ||
dw2102.h | ||
friio-fe.c | ||
friio.c | ||
friio.h | ||
gp8psk-fe.c | ||
gp8psk.c | ||
gp8psk.h | ||
Kconfig | ||
m920x.c | ||
m920x.h | ||
Makefile | ||
nova-t-usb2.c | ||
opera1.c | ||
pctv452e.c | ||
technisat-usb2.c | ||
ttusb2.c | ||
ttusb2.h | ||
umt-010.c | ||
usb-urb.c | ||
vp702x-fe.c | ||
vp702x.c | ||
vp702x.h | ||
vp7045-fe.c | ||
vp7045.c | ||
vp7045.h |