summaryrefslogtreecommitdiffstats
path: root/ipc/msgutil.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2013-11-02 11:18:09 +0100
committerMauro Carvalho Chehab2013-11-08 12:45:43 +0100
commit64f7ef8afbf89f3c72c4d2472e4914ca198c0668 (patch)
tree5448f49c48d04f831632a09511e922cf82283a9d /ipc/msgutil.c
parent[media] v4l2-async: Don't use dynamic static allocation (diff)
downloadkernel-qcow2-linux-64f7ef8afbf89f3c72c4d2472e4914ca198c0668.tar.gz
kernel-qcow2-linux-64f7ef8afbf89f3c72c4d2472e4914ca198c0668.tar.xz
kernel-qcow2-linux-64f7ef8afbf89f3c72c4d2472e4914ca198c0668.zip
[media] cxusb: 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/cxusb.c:209:1: warning: 'cxusb_i2c_xfer' uses dynamic stack allocation [enabled by default] drivers/media/usb/dvb-usb/cxusb.c:69:1: warning: 'cxusb_ctrl_msg' 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>
Diffstat (limited to 'ipc/msgutil.c')
0 files changed, 0 insertions, 0 deletions