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:36:15 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-08-11 15:41:27 -0300
commit8853780ec1e37bb91a1ccef9c05e412cb1cfd9e0 (patch)
tree8d4fb08159c3ad854804a2c4e08ed594b4c2ca7a /tools/perf/scripts/python/export-to-postgresql.py
parent[media] horus3a: don't use variable length arrays (diff)
downloadwireguard-linux-8853780ec1e37bb91a1ccef9c05e412cb1cfd9e0.tar.xz
wireguard-linux-8853780ec1e37bb91a1ccef9c05e412cb1cfd9e0.zip
[media] ascot2e: 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/horus3a.c:57:19: warning: Variable length array is used. The max usecase of the driver seems to be 10 bytes + 1 for the register. So, let's be safe and allocate 11 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