diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-11-02 07:23:49 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-04 10:57:31 -0800 |
commit | 7ce9cdbe07651a2417a00d0a37c8b9fefae12f4b (patch) | |
tree | ff3fd0633bcfe13e5f0bc8171df72bcae396d551 /drivers/net/xen-netback/interface.c | |
parent | b49dfbeea93ebd078fa57404913d7e89320e94fa (diff) |
media: dibusb-common: Don't use dynamic static allocation
commit 1d7fa359d4c0fbb2756fa01cc47212908d90b7b0 upstream.
Dynamic static allocation is evil, as Kernel stack is too low, and
compilation complains about it on some archs:
drivers/media/usb/dvb-usb/dibusb-common.c:124:1: warning: 'dibusb_i2c_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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions