aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2019-07-25 08:48:21 -0400
committerMauro Carvalho Chehab <[email protected]>2019-07-25 11:44:21 -0400
commit049e684f2de9daa31a32423e16d2d3bd6bbd286f (patch)
treef6960e0bb518d4975bbdb2957810face0e6d48ad /tools/perf/scripts/python
parent2c93346698bacd5e1a7fb59b7a5ab84cae1cc5da (diff)
media: v4l2-dev: fix WARN_ON(!vdev->device_caps)
Device nodes of type VFL_TYPE_SUBDEV have a 0 device_caps, so they trigger this warning. Add a check against VFL_TYPE_SUBDEV. Signed-off-by: Hans Verkuil <[email protected]> Fixes: 3c1350501c21 ("media: v4l2-dev/ioctl: require non-zero device_caps, verify sane querycap results") Reported-by: Jan Kotas <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions