aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-08-11 15:22:36 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-08-11 15:37:10 -0300
commitd13a7b674af085eb67df73a20f5cc77310dd8602 (patch)
tree5b54568be680da6a6b5394e15991aefc3e67f80f /tools/perf/scripts/python/export-to-postgresql.py
parent[media] netup_unidvb: NetUP Universal DVB-S/S2/T/T2/C PCI-E card driver (diff)
downloadwireguard-linux-d13a7b674af085eb67df73a20f5cc77310dd8602.tar.xz
wireguard-linux-d13a7b674af085eb67df73a20f5cc77310dd8602.zip
[media] cxd2841er: don't use variable length arrays
The Linux stack is short; we need to be able to count the number of bytes used at stack on each function. So, we don't like to use variable-length arrays, as complained by smatch: drivers/media/dvb-frontends/cxd2841er.c:205:19: warning: Variable length array is used. The max usecase of the driver seems to be 15 bytes + 1 for the register. So, let's be safe and allocate 17 bytes for the write buffer. This should be enough to cover all cases. If not, let's print an error message. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions