aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2017-01-25 05:38:07 -0200
committerMauro Carvalho Chehab <[email protected]>2017-02-03 11:24:48 -0200
commit814e92b8cadf73ee79f689ec48f64408f3904d19 (patch)
treee9829d147922ab3ce6231b4366287a211b67175a /tools/perf/scripts/python/bin
parent75d1b1379fba4ca2fb6fb7b70141ac0afb807fbf (diff)
[media] v4l2-ctrls.c: add NULL check
Check that the control whose events we want to delete is still there. Normally this will always be the case, but I am not 100% certain if there aren't any corner cases when a device is forcibly unbound. In any case, this will satisfy static checkers and simply make it more robust. Signed-off-by: Hans Verkuil <[email protected]> Reported-by: Shaobo <[email protected]> Acked-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions