summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb-v2/mxl111sf.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2013-11-02 08:07:12 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-11-08 09:45:45 -0200
commit7760e148350bf6df95662bc0db3734e9d991cb03 (patch)
tree086ed0e50fac1a4602253115eb7e39c0713add2c /drivers/media/usb/dvb-usb-v2/mxl111sf.c
parent65e2f1cb3fe0f0630834b9517ba8f631936f325c (diff)
downloadop-kernel-dev-7760e148350bf6df95662bc0db3734e9d991cb03.zip
op-kernel-dev-7760e148350bf6df95662bc0db3734e9d991cb03.tar.gz
[media] af9035: Don't use dynamic static allocation
Dynamic static allocation is evil, as Kernel stack is too low, and compilation complains about it on some archs: drivers/media/usb/dvb-usb-v2/af9035.c:142:1: warning: 'af9035_wr_regs' uses dynamic stack allocation [enabled by default] drivers/media/usb/dvb-usb-v2/af9035.c:305:1: warning: 'af9035_i2c_master_xfer' 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> Reviewed-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/mxl111sf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud