aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSakari Ailus <[email protected]>2019-01-10 09:24:26 -0500
committerMauro Carvalho Chehab <[email protected]>2019-01-16 11:12:38 -0500
commit7fe9f01c04c2673bd6662c35b664f0f91888b96f (patch)
treef244e1df17f4af3b6c486e08294f696c14eae3a4 /tools/perf/scripts/python/export-to-postgresql.py
parent9048b2e15b11c591c649cc6edc7a64fa62c15419 (diff)
media: v4l: ioctl: Validate num_planes for debug messages
The num_planes field in struct v4l2_pix_format_mplane is used in a loop before validating it. As the use is printing a debug message in this case, just cap the value to the maximum allowed. Signed-off-by: Sakari Ailus <[email protected]> Cc: [email protected] Reviewed-by: Thierry Reding <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Cc: <[email protected]> # for v4.12 and up Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions