aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2016-09-07 14:10:27 -0300
committerMauro Carvalho Chehab <[email protected]>2016-10-21 12:09:34 -0200
commit211eba9e791e6f6f4c5945b7fabc1dba150075e4 (patch)
treefd5b20ed9a05cc28325773f428dc092606e479e4 /tools/perf/scripts/python
parent67712beb2df027ff36ff6d19b1aeb1af213fac04 (diff)
[media] VPU: mediatek: fix null pointer dereference on pdev
pdev is being null checked, however, prior to that it is being dereferenced by platform_get_drvdata. Move the assignments of vpu and run to after the pdev null check to avoid a potential null pointer dereference. Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Tiffany Lin <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions