diff options
author | 2017-06-15 02:18:28 +0300 | |
---|---|---|
committer | 2017-06-15 14:17:21 +0200 | |
commit | e0b2ce02108498e41e8956d29ea4c27f16dbf9e0 (patch) | |
tree | afe334d4e5d5280b31e563605df95dae85061c4f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/tegra: Correct copying of waitchecks and disable them in the 'submit' IOCTL (diff) | |
download | linux-dev-e0b2ce02108498e41e8956d29ea4c27f16dbf9e0.tar.xz linux-dev-e0b2ce02108498e41e8956d29ea4c27f16dbf9e0.zip |
drm/tegra: Check syncpoint ID in the 'submit' IOCTL
In case of invalid syncpoint ID, the host1x_syncpt_get() returns NULL and
none of its users perform a check of the returned pointer later. Let's bail
out until it's too late.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions