summaryrefslogtreecommitdiffstats
path: root/fs/utimes.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2013-11-02 09:51:59 +0100
committerMauro Carvalho Chehab2013-11-08 12:45:41 +0100
commit5bf30b3bc4ff80ef71a733a1f459cca4fa507892 (patch)
treeb6579a6ee87ca9fccbe72b8265847942e70d1ffa /fs/utimes.c
parent[media] stv090x: Don't use dynamic static allocation (diff)
downloadkernel-qcow2-linux-5bf30b3bc4ff80ef71a733a1f459cca4fa507892.tar.gz
kernel-qcow2-linux-5bf30b3bc4ff80ef71a733a1f459cca4fa507892.tar.xz
kernel-qcow2-linux-5bf30b3bc4ff80ef71a733a1f459cca4fa507892.zip
[media] av7110_hw: 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/pci/ttpci/av7110_hw.c:510:1: warning: 'av7110_fw_cmd' uses dynamic stack allocation [enabled by default] Instead, let's enforce a limit for the buffer. In the specific case of this driver, the maximum fw command size is 6 + 2, as checked using: $ git grep -A1 av7110_fw_cmd drivers/media/pci/ttpci/ So, use 8 for the buffer size. 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 'fs/utimes.c')
0 files changed, 0 insertions, 0 deletions